UserCapabilities¶
-
class
oci.identity.models.UserCapabilities(**kwargs)¶ Bases:
objectProperties indicating how the user is allowed to authenticate.
Methods
__init__(**kwargs)Initializes a new UserCapabilities object with values from keyword arguments. Attributes
can_use_api_keysGets the can_use_api_keys of this UserCapabilities. can_use_auth_tokensGets the can_use_auth_tokens of this UserCapabilities. can_use_console_passwordGets the can_use_console_password of this UserCapabilities. can_use_customer_secret_keysGets the can_use_customer_secret_keys of this UserCapabilities. can_use_db_credentialsGets the can_use_db_credentials of this UserCapabilities. can_use_o_auth2_client_credentialsGets the can_use_o_auth2_client_credentials of this UserCapabilities. can_use_smtp_credentialsGets the can_use_smtp_credentials of this UserCapabilities. -
__init__(**kwargs)¶ Initializes a new UserCapabilities object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - can_use_console_password (bool) – The value to assign to the can_use_console_password property of this UserCapabilities.
- can_use_api_keys (bool) – The value to assign to the can_use_api_keys property of this UserCapabilities.
- can_use_auth_tokens (bool) – The value to assign to the can_use_auth_tokens property of this UserCapabilities.
- can_use_smtp_credentials (bool) – The value to assign to the can_use_smtp_credentials property of this UserCapabilities.
- can_use_db_credentials (bool) – The value to assign to the can_use_db_credentials property of this UserCapabilities.
- can_use_customer_secret_keys (bool) – The value to assign to the can_use_customer_secret_keys property of this UserCapabilities.
- can_use_o_auth2_client_credentials (bool) – The value to assign to the can_use_o_auth2_client_credentials property of this UserCapabilities.
-
can_use_api_keys¶ Gets the can_use_api_keys of this UserCapabilities. Indicates if the user can use API keys.
Returns: The can_use_api_keys of this UserCapabilities. Return type: bool
-
can_use_auth_tokens¶ Gets the can_use_auth_tokens of this UserCapabilities. Indicates if the user can use SWIFT passwords / auth tokens.
Returns: The can_use_auth_tokens of this UserCapabilities. Return type: bool
-
can_use_console_password¶ Gets the can_use_console_password of this UserCapabilities. Indicates if the user can log in to the console.
Returns: The can_use_console_password of this UserCapabilities. Return type: bool
-
can_use_customer_secret_keys¶ Gets the can_use_customer_secret_keys of this UserCapabilities. Indicates if the user can use SigV4 symmetric keys.
Returns: The can_use_customer_secret_keys of this UserCapabilities. Return type: bool
-
can_use_db_credentials¶ Gets the can_use_db_credentials of this UserCapabilities. Indicates if the user can use DB passwords.
Returns: The can_use_db_credentials of this UserCapabilities. Return type: bool
-
can_use_o_auth2_client_credentials¶ Gets the can_use_o_auth2_client_credentials of this UserCapabilities. Indicates if the user can use OAuth2 credentials and tokens.
Returns: The can_use_o_auth2_client_credentials of this UserCapabilities. Return type: bool
-
can_use_smtp_credentials¶ Gets the can_use_smtp_credentials of this UserCapabilities. Indicates if the user can use SMTP passwords.
Returns: The can_use_smtp_credentials of this UserCapabilities. Return type: bool
-