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