SecretData¶
-
class
oci.dif.models.SecretData(**kwargs)¶ Bases:
objectMaps 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.
Methods
__init__(**kwargs)Initializes a new SecretData object with values from keyword arguments. Attributes
key[Required] Gets the key of this SecretData. secret_id[Required] Gets the secret_id of this SecretData. -
__init__(**kwargs)¶ Initializes a new SecretData object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - key (str) – The value to assign to the key property of this SecretData.
- secret_id (str) – The value to assign to the secret_id property of this SecretData.
-
key¶ [Required] Gets the key of this SecretData. Data key in the kubernetes secret.
Returns: The key of this SecretData. Return type: str
-
secret_id¶ [Required] Gets the secret_id of this SecretData. 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.
Returns: The secret_id of this SecretData. Return type: str
-