2023-09-08 13:21:33 -05:00
|
|
|
coder v0.0.0-devel
|
2022-12-20 22:17:51 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
USAGE:
|
2023-09-08 13:21:33 -05:00
|
|
|
coder users create [flags]
|
|
|
|
|
|
2025-05-13 16:48:16 -04:00
|
|
|
Create a new user.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
OPTIONS:
|
2024-07-01 11:04:45 -10:00
|
|
|
-O, --org string, $CODER_ORGANIZATION
|
|
|
|
|
Select which organization (uuid or name) to use.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
-e, --email string
|
2023-03-23 17:42:20 -05:00
|
|
|
Specifies an email address for the new user.
|
2022-12-20 22:17:51 +02:00
|
|
|
|
2024-06-26 09:00:42 +01:00
|
|
|
-n, --full-name string
|
|
|
|
|
Specifies an optional human-readable name for the new user.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--login-type string
|
2023-08-10 20:04:35 -05:00
|
|
|
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
|
2026-04-27 15:51:01 -07:00
|
|
|
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.
|
2023-08-10 20:04:35 -05:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
-p, --password string
|
2023-03-23 17:42:20 -05:00
|
|
|
Specifies a password for the new user.
|
|
|
|
|
|
2026-03-17 14:07:20 -08:00
|
|
|
--service-account bool
|
|
|
|
|
Create a user account intended to be used by a service or as an
|
|
|
|
|
intermediary rather than by a human.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
-u, --username string
|
2023-03-23 17:42:20 -05:00
|
|
|
Specifies a username for the new user.
|
|
|
|
|
|
2023-09-08 13:21:33 -05:00
|
|
|
———
|
2023-03-23 17:42:20 -05:00
|
|
|
Run `coder --help` for a list of global options.
|