CredentialSummary¶
-
class
oci.database_tools_runtime.models.CredentialSummary(**kwargs)¶ Bases:
objectCredential information
Attributes
KEY_TYPE_CREDENTIAL_NAMEA constant which can be used with the key_type property of a CredentialSummary. KEY_TYPE_PUBLIC_SYNONYMA constant which can be used with the key_type property of a CredentialSummary. enabled[Required] Gets the enabled of this CredentialSummary. key[Required] Gets the key of this CredentialSummary. key_typeGets the key_type of this CredentialSummary. owner[Required] Gets the owner of this CredentialSummary. related_resourceGets the related_resource of this CredentialSummary. user_name[Required] Gets the user_name of this CredentialSummary. windows_domainGets the windows_domain of this CredentialSummary. Methods
__init__(**kwargs)Initializes a new CredentialSummary 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 CredentialSummary. 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 CredentialSummary. This constant has a value of “PUBLIC_SYNONYM”
-
__init__(**kwargs)¶ Initializes a new CredentialSummary 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 CredentialSummary.
- user_name (str) – The value to assign to the user_name property of this CredentialSummary.
- windows_domain (str) – The value to assign to the windows_domain property of this CredentialSummary.
- enabled (str) – The value to assign to the enabled property of this CredentialSummary.
- key_type (str) – The value to assign to the key_type property of this CredentialSummary. 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 CredentialSummary.
- related_resource (oci.database_tools_runtime.models.CredentialRelatedResource) – The value to assign to the related_resource property of this CredentialSummary.
-
enabled¶ [Required] Gets the enabled of this CredentialSummary. Indicates whether this credential is enabled (TRUE) or not (FALSE)
Returns: The enabled of this CredentialSummary. Return type: str
-
key¶ [Required] Gets the key of this CredentialSummary. Name of the credential
Returns: The key of this CredentialSummary. Return type: str
-
key_type¶ Gets the key_type of this CredentialSummary. 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 CredentialSummary. Return type: str
-
owner¶ [Required] Gets the owner of this CredentialSummary. Owner of the credential
Returns: The owner of this CredentialSummary. Return type: str
Gets the related_resource of this CredentialSummary.
Returns: The related_resource of this CredentialSummary. Return type: oci.database_tools_runtime.models.CredentialRelatedResource
-
user_name¶ [Required] Gets the user_name of this CredentialSummary. 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 CredentialSummary. Return type: str
-
windows_domain¶ Gets the windows_domain of this CredentialSummary. For a Windows target, the Windows domain to use when logging in
Returns: The windows_domain of this CredentialSummary. Return type: str
-