RestCredential

class oci.database_management.models.RestCredential(**kwargs)

Bases: object

The user credential information.

Attributes

SSL_TRUST_STORE_TYPE_BCFKS A constant which can be used with the ssl_trust_store_type property of a RestCredential.
SSL_TRUST_STORE_TYPE_JKS A constant which can be used with the ssl_trust_store_type property of a RestCredential.
password [Required] Gets the password of this RestCredential.
ssl_trust_store_location Gets the ssl_trust_store_location of this RestCredential.
ssl_trust_store_password Gets the ssl_trust_store_password of this RestCredential.
ssl_trust_store_type Gets the ssl_trust_store_type of this RestCredential.
username [Required] Gets the username of this RestCredential.

Methods

__init__(**kwargs) Initializes a new RestCredential object with values from keyword arguments.
SSL_TRUST_STORE_TYPE_BCFKS = 'BCFKS'

A constant which can be used with the ssl_trust_store_type property of a RestCredential. This constant has a value of “BCFKS”

SSL_TRUST_STORE_TYPE_JKS = 'JKS'

A constant which can be used with the ssl_trust_store_type property of a RestCredential. This constant has a value of “JKS”

__init__(**kwargs)

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

Parameters:
  • username (str) – The value to assign to the username property of this RestCredential.
  • password (str) – The value to assign to the password property of this RestCredential.
  • ssl_trust_store_type (str) – The value to assign to the ssl_trust_store_type property of this RestCredential. Allowed values for this property are: “JKS”, “BCFKS”
  • ssl_trust_store_location (str) – The value to assign to the ssl_trust_store_location property of this RestCredential.
  • ssl_trust_store_password (str) – The value to assign to the ssl_trust_store_password property of this RestCredential.
password

[Required] Gets the password of this RestCredential. The password of the user.

Returns:The password of this RestCredential.
Return type:str
ssl_trust_store_location

Gets the ssl_trust_store_location of this RestCredential. The full path of the SSL truststore location in the agent.

Returns:The ssl_trust_store_location of this RestCredential.
Return type:str
ssl_trust_store_password

Gets the ssl_trust_store_password of this RestCredential. The password of the SSL truststore location in the agent.

Returns:The ssl_trust_store_password of this RestCredential.
Return type:str
ssl_trust_store_type

Gets the ssl_trust_store_type of this RestCredential. The SSL truststore type.

Allowed values for this property are: “JKS”, “BCFKS”

Returns:The ssl_trust_store_type of this RestCredential.
Return type:str
username

[Required] Gets the username of this RestCredential. The name of the user.

Returns:The username of this RestCredential.
Return type:str