osc identity user set
Updates a user.
If the back-end driver does not support this functionality, this call might return the HTTP Not Implemented (501)
response code.
Relationship: https://docs.openstack.org/api/openstack-identity/3/rel/user
Usage: osc identity user set [OPTIONS] <ID>
Arguments:
<ID>
— user_id parameter for /v3/users/{user_id} API
Options:
-
--default-project-id <DEFAULT_PROJECT_ID>
— The new ID of the default project for the user -
--description <DESCRIPTION>
— The resource description -
--enabled <ENABLED>
— Enables or disables the user. An enabled user can authenticate and receive authorization. A disabled user cannot authenticate or receive authorization. Additionally, all tokens that the user holds become no longer valid. If you reenable this user, pre-existing tokens do not become valid. To enable the user, set totrue
. To disable the user, set tofalse
. Default istrue
Possible values:
true
,false
-
--federated <JSON>
— List of federated objects associated with a user. Each object in the list contains theidp_id
andprotocols
.protocols
is a list of objects, each of which containsprotocol_id
andunique_id
of the protocol and user respectively. For example: -
--name <NAME>
— The new name for the user. Must be unique within the owning domain -
--ignore-change-password-upon-first-use <IGNORE_CHANGE_PASSWORD_UPON_FIRST_USE>
Possible values:
true
,false
-
--ignore-lockout-failure-attempts <IGNORE_LOCKOUT_FAILURE_ATTEMPTS>
Possible values:
true
,false
-
--ignore-password-expiry <IGNORE_PASSWORD_EXPIRY>
Possible values:
true
,false
-
--ignore-user-inactivity <IGNORE_USER_INACTIVITY>
Possible values:
true
,false
-
--lock-password <LOCK_PASSWORD>
Possible values:
true
,false
-
--multi-factor-auth-enabled <MULTI_FACTOR_AUTH_ENABLED>
Possible values:
true
,false
-
--multi-factor-auth-rules <MULTI_FACTOR_AUTH_RULES>
-
--password <PASSWORD>
— The new password for the user