Files
coder/docs/reference/cli/server/create-admin-user.md
T
Nick Vigilante 2ee96f82f9 docs: give every table header cell text and fail lint on empty ones
Screen readers announce a table header cell with no text as an unnamed
column, and axe reports it as empty-table-header.

- clidocgen writes "Property | Value" over each option's metadata table
  instead of an empty header row; the CLI reference is regenerated.
- The port-forwarding CORS matrix labels its corner cells (From user,
  From workspace, To user, To workspace, To app).
- Four Markdown matrices get a corner label, byte-identical to #30873.
- docshtmlcheck (make lint/docs-html) now fails on empty header cells in
  Markdown pipe tables and raw HTML tables, naming the file, line, and
  the table's first header.

Assisted-by: AI
2026-10-15 16:48:16 -04:00

2.7 KiB
Generated

title, description
title description
`coder server create-admin-user` Create a new admin user with the given username, email and password and adds it to every organization.

Create a new admin user with the given username, email and password and adds it to every organization.

Usage

coder server create-admin-user [flags]

Options

--postgres-url

Property Value
Type string
Environment $CODER_PG_CONNECTION_URL

URL of a PostgreSQL database. If empty, the built-in PostgreSQL deployment will be used (Coder must not be already running in this case).

--postgres-connection-auth

Property Value
Type password|awsiamrds
Environment $CODER_PG_CONNECTION_AUTH
Default password

Type of auth to use when connecting to postgres.

--ssh-keygen-algorithm

Property Value
Type string
Environment $CODER_SSH_KEYGEN_ALGORITHM
Default ed25519

The algorithm to use for generating ssh keys. Accepted values are "ed25519", "ecdsa", or "rsa4096".

--username

Property Value
Type string
Environment $CODER_USERNAME

The username of the new user. If not specified, you will be prompted via stdin.

--email

Property Value
Type string
Environment $CODER_EMAIL

The email of the new user. If not specified, you will be prompted via stdin.

--password

Property Value
Type string
Environment $CODER_PASSWORD

The password of the new user. If not specified, you will be prompted via stdin.

-o, --output

Property Value
Type text|json
Default text

Output format.

--raw-url

Property Value
Type bool

Output the raw connection URL instead of a psql command.