dcloud iam users update-login-profileReset, unlock, or turn on/off an IAM user's console password
A new password ends the user’s sessions and, unless `passwordResetRequired: false`, must be changed at the next sign-in. `enabled: false` ends their sessions at once.
Synopsis
dcloud iam users update-login-profile id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--passwordOptionalstring
A new password, checked against the organization's password policy; ends the user's sessions
Constraints: 1-256 chars
--generate-passwordOptionalboolean (--generate-password / --no-generate-password)
true: a new password is made for you and returned once, in generatedPassword; ends the user's sessions
--password-reset-requiredOptionalboolean (--password-reset-required / --no-password-reset-required)
The user must choose a new password at the next sign-in; with a new password, default true
--enabledOptionalboolean (--enabled / --no-enabled)
false turns console sign-in off and ends the user's sessions at once (the password is kept); true turns it on again
--unlockOptionalboolean (--unlock / --no-unlock)
true lifts a lockout after too many wrong passwords
Example
dcloud iam users update-login-profile idGenerated from the API description, the same one the API checks requests against and the CLI is built from.