SecretEnvSourceV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SecretEnvSourceV1 represents a reference to a Secret used for populating environment variables in a container.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class SecretEnvSourceV1
[<YamlDotNet.Serialization.YamlSerializable>]
type SecretEnvSourceV1 = class
Public NotInheritable Class SecretEnvSourceV1
- Inheritance
-
SecretEnvSourceV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This class provides a way to source environment variable data from a Secret within Kubernetes. A Secret contains sensitive information such as tokens, passwords, or keys that can be used as part of a container's environment.
Constructors
SecretEnvSourceV1() |
Properties
Name |
Gets or sets the name of the referent secret. The secret must exist in the same namespace as the pod. |
Optional |
Gets or sets a value indicating whether the specified Secret is optional. If set to true, the application will not fail if the Secret is missing. If set to false or not specified, the Secret must exist for the application to function properly. |