Share via


SecretKeySelectorV1 Class

Definition

SecretKeySelectorV1 represents a reference to a specific key within a Secret in Kubernetes. It is used to identify and optionally retrieve the key's value from a named Secret resource.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class SecretKeySelectorV1
[<YamlDotNet.Serialization.YamlSerializable>]
type SecretKeySelectorV1 = class
Public NotInheritable Class SecretKeySelectorV1
Inheritance
SecretKeySelectorV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

Name Description
SecretKeySelectorV1()

Properties

Name Description
Key

Specifies the key within the secret to select. This property is used to reference a specific key contained in a Kubernetes secret.

Name

Gets or sets the name of the Kubernetes Secret to select the key from.

Optional

Applies to