Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.8 KB

File metadata and controls

74 lines (48 loc) · 1.8 KB
title users create
description Create a new user.

Create a new user.

Usage

coder users create [flags]

Options

-e, --email

Type string

Specifies an email address for the new user.

-u, --username

Type string

Specifies a username for the new user.

-n, --full-name

Type string

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

-p, --password

Type string

Specifies a password for the new user.

--login-type

Type string

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. Deprecated: 'none' is deprecated. Use service accounts (requires Premium) for machine-to-machine access, or password/github/oidc login types for regular user accounts.

--service-account

Type bool

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

-O, --org

Type string
Environment $CODER_ORGANIZATION

Select which organization (uuid or name) to use.