dcloud iam users update-login-profile

Reset, unlock, or turn on/off an IAM user's console password

IAM iam:UpdateLoginProfileChanges stateAsks before it deletes (-y skips)

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>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --passwordOptional

    string

    A new password, checked against the organization's password policy; ends the user's sessions

    Constraints: 1-256 chars

  • --generate-passwordOptional

    boolean (--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-requiredOptional

    boolean (--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

  • --enabledOptional

    boolean (--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

  • --unlockOptional

    boolean (--unlock / --no-unlock)

    true lifts a lockout after too many wrong passwords

Example

dcloud iam users update-login-profile id

Generated from the API description, the same one the API checks requests against and the CLI is built from.