dcloud iam users create-login-profile

Give an IAM user a console password

IAM iam:CreateLoginProfileChanges state

The user signs in at /login/<org alias> with the user name and this password. Pass `password` (checked against the password policy) or `generatePassword: true`; a generated one is returned once in `generatedPassword`. Users of type `user` only.

Synopsis

dcloud iam users create-login-profile id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --passwordOptional

    string

    The password to set, checked against the organization's password policy; leave out with generatePassword

    Constraints: 1-256 chars

  • --generate-passwordOptional

    boolean (--generate-password / --no-generate-password)

    true: a password that meets the policy is made for you and returned once, in generatedPassword

  • --password-reset-requiredOptional

    boolean (--password-reset-required / --no-password-reset-required)

    The user must choose a new password at the first sign-in; default true

    Default: true

Example

dcloud iam users create-login-profile id

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