mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
60 lines
1.3 KiB
Markdown
Generated
60 lines
1.3 KiB
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
# users create
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder users create [flags]
|
|
```
|
|
|
|
## Options
|
|
|
|
### -e, --email
|
|
|
|
| | |
|
|
|------|---------------------|
|
|
| Type | <code>string</code> |
|
|
|
|
Specifies an email address for the new user.
|
|
|
|
### -u, --username
|
|
|
|
| | |
|
|
|------|---------------------|
|
|
| Type | <code>string</code> |
|
|
|
|
Specifies a username for the new user.
|
|
|
|
### -n, --full-name
|
|
|
|
| | |
|
|
|------|---------------------|
|
|
| Type | <code>string</code> |
|
|
|
|
Specifies an optional human-readable name for the new user.
|
|
|
|
### -p, --password
|
|
|
|
| | |
|
|
|------|---------------------|
|
|
| Type | <code>string</code> |
|
|
|
|
Specifies a password for the new user.
|
|
|
|
### --login-type
|
|
|
|
| | |
|
|
|------|---------------------|
|
|
| Type | <code>string</code> |
|
|
|
|
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.
|
|
|
|
### -O, --org
|
|
|
|
| | |
|
|
|-------------|----------------------------------|
|
|
| Type | <code>string</code> |
|
|
| Environment | <code>$CODER_ORGANIZATION</code> |
|
|
|
|
Select which organization (uuid or name) to use.
|