Credential

class oci.database_tools_runtime.models.Credential(**kwargs)

Bases: object

Credential information

Attributes

KEY_TYPE_CREDENTIAL_NAME A constant which can be used with the key_type property of a Credential.
KEY_TYPE_PUBLIC_SYNONYM A constant which can be used with the key_type property of a Credential.
enabled [Required] Gets the enabled of this Credential.
key [Required] Gets the key of this Credential.
key_type Gets the key_type of this Credential.
owner [Required] Gets the owner of this Credential.
related_resource Gets the related_resource of this Credential.
user_name [Required] Gets the user_name of this Credential.
windows_domain Gets the windows_domain of this Credential.

Methods

__init__(**kwargs) Initializes a new Credential object with values from keyword arguments.
KEY_TYPE_CREDENTIAL_NAME = 'CREDENTIAL_NAME'

A constant which can be used with the key_type property of a Credential. This constant has a value of “CREDENTIAL_NAME”

KEY_TYPE_PUBLIC_SYNONYM = 'PUBLIC_SYNONYM'

A constant which can be used with the key_type property of a Credential. This constant has a value of “PUBLIC_SYNONYM”

__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this Credential.
  • user_name (str) – The value to assign to the user_name property of this Credential.
  • windows_domain (str) – The value to assign to the windows_domain property of this Credential.
  • enabled (str) – The value to assign to the enabled property of this Credential.
  • key_type (str) – The value to assign to the key_type property of this Credential. Allowed values for this property are: “CREDENTIAL_NAME”, “PUBLIC_SYNONYM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • owner (str) – The value to assign to the owner property of this Credential.
  • related_resource (oci.database_tools_runtime.models.CredentialRelatedResource) – The value to assign to the related_resource property of this Credential.
enabled

[Required] Gets the enabled of this Credential. Indicates whether this credential is enabled (TRUE) or not (FALSE)

Returns:The enabled of this Credential.
Return type:str
key

[Required] Gets the key of this Credential. Name of the credential

Returns:The key of this Credential.
Return type:str
key_type

Gets the key_type of this Credential. Indicates whether this refers to a public synonym or not.

Allowed values for this property are: “CREDENTIAL_NAME”, “PUBLIC_SYNONYM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The key_type of this Credential.
Return type:str
owner

[Required] Gets the owner of this Credential. Owner of the credential

Returns:The owner of this Credential.
Return type:str
related_resource

Gets the related_resource of this Credential.

Returns:The related_resource of this Credential.
Return type:oci.database_tools_runtime.models.CredentialRelatedResource
user_name

[Required] Gets the user_name of this Credential. Name of the user that will be used to log in to the remote database or the remote or local operating system

Returns:The user_name of this Credential.
Return type:str
windows_domain

Gets the windows_domain of this Credential. For a Windows target, the Windows domain to use when logging in

Returns:The windows_domain of this Credential.
Return type:str