InstanceCredentials¶
- class oci.core.models.InstanceCredentials(**kwargs)¶
Bases:
objectThe credentials for a particular instance.
Methods:
__init__(**kwargs)Initializes a new InstanceCredentials object with values from keyword arguments.
Attributes:
[Required] Gets the password of this InstanceCredentials.
[Required] Gets the username of this InstanceCredentials.
- __init__(**kwargs)¶
Initializes a new InstanceCredentials object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
password (str) – The value to assign to the password property of this InstanceCredentials.
username (str) – The value to assign to the username property of this InstanceCredentials.
- property password¶
[Required] Gets the password of this InstanceCredentials. The password for the username.
- Returns
The password of this InstanceCredentials.
- Return type
str
- property username¶
[Required] Gets the username of this InstanceCredentials. The username.
- Returns
The username of this InstanceCredentials.
- Return type
str