dcloud iam users create

Create an IAM user or service account

IAM iam:CreateUserChanges state

Synopsis

dcloud iam users create --username username [flags]

Flags

  • --usernameRequired

    string

    The user name, unique in the organization; an IAM user with a console password signs in with it

    Constraints: 1-64 chars, /^[a-z0-9_-]+$/

  • --display-nameOptional

    string

    A readable name shown in the console

    Constraints: max 128 chars

  • --typeOptional

    enum

    service_account for a program, which uses access keys and never a console password; default user

    One of: user, service_account

    Default: "user"

Example

dcloud iam users create --username example

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