CredentialDetails

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

Bases: object

Credential Details

Attributes

CREDENTIAL_TYPE_KEY_ENCRYPTION A constant which can be used with the credential_type property of a CredentialDetails.
CREDENTIAL_TYPE_PLAIN_TEXT A constant which can be used with the credential_type property of a CredentialDetails.
CREDENTIAL_TYPE_VAULT_SECRET A constant which can be used with the credential_type property of a CredentialDetails.
credential_type [Required] Gets the credential_type of this CredentialDetails.

Methods

__init__(**kwargs) Initializes a new CredentialDetails 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'

A constant which can be used with the credential_type property of a CredentialDetails. This constant has a value of “KEY_ENCRYPTION”

CREDENTIAL_TYPE_PLAIN_TEXT = 'PLAIN_TEXT'

A constant which can be used with the credential_type property of a CredentialDetails. This constant has a value of “PLAIN_TEXT”

CREDENTIAL_TYPE_VAULT_SECRET = 'VAULT_SECRET'

A constant which can be used with the credential_type property of a CredentialDetails. This constant has a value of “VAULT_SECRET”

__init__(**kwargs)

Initializes a new CredentialDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 CredentialDetails. 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’.
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.