Class SecretData
Maps a kubernetes secret data key to a value sourced from Oci Vault. At deploy time, the platform fetches the secret value by OCID and injects it under the specified key in the secrets data. No plaintext secret values are required in the payload.
Inherited Members
Namespace: Oci.DifService.Models
Assembly: OCI.DotNetSDK.Dif.dll
Syntax
public class SecretData
Properties
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Data key in the kubernetes secret. |
Remarks
Required
SecretId
Declaration
[Required(ErrorMessage = "SecretId is required.")]
[JsonProperty(PropertyName = "secretId")]
public string SecretId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of the Oci vault secret that provides the value for this key. The latest active secret version is used at deploy time unless otherwise configured. |
Remarks
Required