mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
* feat: add login type 'none' to prevent login Users with this login type must use tokens to authenticate. Tokens must come from some other source, not a /login with password authentication
44 lines
931 B
Markdown
44 lines
931 B
Markdown
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
# users create
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder users create [flags]
|
|
```
|
|
|
|
## Options
|
|
|
|
### --disable-login
|
|
|
|
| | |
|
|
| ---- | ----------------- |
|
|
| Type | <code>bool</code> |
|
|
|
|
Disabling login for a user prevents the user from authenticating via password or IdP login. Authentication requires an API key/token generated by an admin. Be careful when using this flag as it can lock the user out of their account.
|
|
|
|
### -e, --email
|
|
|
|
| | |
|
|
| ---- | ------------------- |
|
|
| Type | <code>string</code> |
|
|
|
|
Specifies an email address for the new user.
|
|
|
|
### -p, --password
|
|
|
|
| | |
|
|
| ---- | ------------------- |
|
|
| Type | <code>string</code> |
|
|
|
|
Specifies a password for the new user.
|
|
|
|
### -u, --username
|
|
|
|
| | |
|
|
| ---- | ------------------- |
|
|
| Type | <code>string</code> |
|
|
|
|
Specifies a username for the new user.
|