CLI User Creation Guide | Coder Docs

Create a new user.

Usage

coder users create [flags]

Options

-e, --email

Specifies an email address for the new user.

-u, --username

Specifies a username for the new user.

-n, --full-name

Specifies an optional human-readable name for the new user.

-p, --password

Specifies a password for the new user.

--login-type

Optionally specify the login type for the user. Valid values are: password, none, github, oidc. Using 'none' prevents the user from authenticating and requires an API key/token to be generated by an admin.

--service-account

Create a user account intended to be used by a service or as an intermediary rather than by a human.

-O, --org

Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.