Secret Constructors
Class Constructors 1 member
Represents a Kubernetes Secret resource in the v1 API version.
Constructor Section titled Constructor Represents a Kubernetes Secret resource in the v1 API version.
public sealed class Secret{ public Secret() { // ... }}Remarks
The
Secret class is used to store sensitive information, such as passwords, OAuth tokens, and other secrets. Secrets are encoded as key-value pairs and can be mounted into containers or referenced by other Kubernetes resources. By default, the data is Base64-encoded, and alternative string-based representations can also be used.