Credentials¶
- class oci.data_safe.models.Credentials(**kwargs)¶
Bases:
objectThe database credentials required for Data Safe to connect to the database.
Methods:
__init__(**kwargs)Initializes a new Credentials object with values from keyword arguments.
Attributes:
[Required] Gets the password of this Credentials.
[Required] Gets the user_name of this Credentials.
- __init__(**kwargs)¶
Initializes a new Credentials 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 Credentials.
password (str) – The value to assign to the password property of this Credentials.
- property password¶
[Required] Gets the password of this Credentials. The password of the database user.
- Returns
The password of this Credentials.
- Return type
str
- property user_name¶
[Required] Gets the user_name of this Credentials. The database user name.
- Returns
The user_name of this Credentials.
- Return type
str