DatabaseCredentialDetails

class oci.database.models.DatabaseCredentialDetails(**kwargs)

Bases: object

Data for the credential used to connect to the database.

Methods

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

Attributes

password_secret_id [Required] Gets the password_secret_id of this DatabaseCredentialDetails.
user_name [Required] Gets the user_name of this DatabaseCredentialDetails.
__init__(**kwargs)

Initializes a new DatabaseCredentialDetails 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 DatabaseCredentialDetails.
  • password_secret_id (str) – The value to assign to the password_secret_id property of this DatabaseCredentialDetails.
password_secret_id

[Required] Gets the password_secret_id of this DatabaseCredentialDetails. The OCID of the Oracle Cloud Infrastructure secret.

Returns:The password_secret_id of this DatabaseCredentialDetails.
Return type:str
user_name

[Required] Gets the user_name of this DatabaseCredentialDetails. The name of the Oracle Database user that will be used to connect to the database.

Returns:The user_name of this DatabaseCredentialDetails.
Return type:str