VaultSecretCredentialDetails

class oci.fleet_apps_management.models.VaultSecretCredentialDetails(**kwargs)

Bases: oci.fleet_apps_management.models.credential_details.CredentialDetails

Secret details.

Attributes

CREDENTIAL_TYPE_KEY_ENCRYPTION str(object=’’) -> str
CREDENTIAL_TYPE_PLAIN_TEXT str(object=’’) -> str
CREDENTIAL_TYPE_VAULT_SECRET str(object=’’) -> str
credential_type [Required] Gets the credential_type of this CredentialDetails.
secret_id [Required] Gets the secret_id of this VaultSecretCredentialDetails.
secret_version Gets the secret_version of this VaultSecretCredentialDetails.

Methods

__init__(**kwargs) Initializes a new VaultSecretCredentialDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CREDENTIAL_TYPE_KEY_ENCRYPTION = 'KEY_ENCRYPTION'
CREDENTIAL_TYPE_PLAIN_TEXT = 'PLAIN_TEXT'
CREDENTIAL_TYPE_VAULT_SECRET = 'VAULT_SECRET'
__init__(**kwargs)

Initializes a new VaultSecretCredentialDetails object with values from keyword arguments. The default value of the credential_type attribute of this class is VAULT_SECRET and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • credential_type (str) – The value to assign to the credential_type property of this VaultSecretCredentialDetails. Allowed values for this property are: “PLAIN_TEXT”, “VAULT_SECRET”, “KEY_ENCRYPTION”
  • secret_id (str) – The value to assign to the secret_id property of this VaultSecretCredentialDetails.
  • secret_version (str) – The value to assign to the secret_version property of this VaultSecretCredentialDetails.
credential_type

[Required] Gets the credential_type of this CredentialDetails. Credential Type.

Allowed values for this property are: “PLAIN_TEXT”, “VAULT_SECRET”, “KEY_ENCRYPTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The credential_type of this CredentialDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

secret_id

[Required] Gets the secret_id of this VaultSecretCredentialDetails. The OCID of the secret.

Returns:The secret_id of this VaultSecretCredentialDetails.
Return type:str
secret_version

Gets the secret_version of this VaultSecretCredentialDetails. The secret version.

Returns:The secret_version of this VaultSecretCredentialDetails.
Return type:str