DatabaseNamedCredentialDetails¶
-
class
oci.database_management.models.DatabaseNamedCredentialDetails(**kwargs)¶ Bases:
oci.database_management.models.database_credential_details.DatabaseCredentialDetailsUser provides a named credential OCID, which will be used to retrieve the password to connect to the database.
Attributes
CREDENTIAL_TYPE_NAMED_CREDENTIALstr(object=’’) -> str CREDENTIAL_TYPE_PASSWORDstr(object=’’) -> str CREDENTIAL_TYPE_SECRETstr(object=’’) -> str credential_type[Required] Gets the credential_type of this DatabaseCredentialDetails. named_credential_id[Required] Gets the named_credential_id of this DatabaseNamedCredentialDetails. Methods
__init__(**kwargs)Initializes a new DatabaseNamedCredentialDetails 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_NAMED_CREDENTIAL= 'NAMED_CREDENTIAL'¶
-
CREDENTIAL_TYPE_PASSWORD= 'PASSWORD'¶
-
CREDENTIAL_TYPE_SECRET= 'SECRET'¶
-
__init__(**kwargs)¶ Initializes a new DatabaseNamedCredentialDetails object with values from keyword arguments. The default value of the
credential_typeattribute of this class isNAMED_CREDENTIALand 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 DatabaseNamedCredentialDetails. Allowed values for this property are: “SECRET”, “PASSWORD”, “NAMED_CREDENTIAL”
- named_credential_id (str) – The value to assign to the named_credential_id property of this DatabaseNamedCredentialDetails.
-
credential_type¶ [Required] Gets the credential_type of this DatabaseCredentialDetails. The type of the credential for tablespace administration tasks.
Allowed values for this property are: “SECRET”, “PASSWORD”, “NAMED_CREDENTIAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The credential_type of this DatabaseCredentialDetails. 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.
-