DbCredentialsDetail

class oci.dif.models.DbCredentialsDetail(**kwargs)

Bases: object

DB credentials for ADB connection.

Methods

__init__(**kwargs) Initializes a new DbCredentialsDetail object with values from keyword arguments.

Attributes

secret_id [Required] Gets the secret_id of this DbCredentialsDetail.
user_name [Required] Gets the user_name of this DbCredentialsDetail.
user_type [Required] Gets the user_type of this DbCredentialsDetail.
__init__(**kwargs)

Initializes a new DbCredentialsDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • user_name (str) – The value to assign to the user_name property of this DbCredentialsDetail.
  • secret_id (str) – The value to assign to the secret_id property of this DbCredentialsDetail.
  • user_type (str) – The value to assign to the user_type property of this DbCredentialsDetail.
secret_id

[Required] Gets the secret_id of this DbCredentialsDetail. Vault secret OCID containing the corresponding user password.

Returns:The secret_id of this DbCredentialsDetail.
Return type:str
user_name

[Required] Gets the user_name of this DbCredentialsDetail. Username for ADB to be created or updated.

Returns:The user_name of this DbCredentialsDetail.
Return type:str
user_type

[Required] Gets the user_type of this DbCredentialsDetail. Type of the user. Allowed values are “ADMIN” or “CUSTOM” or “GGCS”.

Returns:The user_type of this DbCredentialsDetail.
Return type:str