Files
coder/docs/admin/users/headless-auth.md
Edward Angert 101b62dc3e docs: convert alerts to use GitHub Flavored Markdown (GFM) (#16850)
followup to #16761 

thanks @lucasmelin !

+ thanks: @ethanndickson @Parkreiner @matifali @aqandrew 

- [x] update snippet
- [x] find/replace
- [x] spot-check


[preview](https://coder.com/docs/@16761-gfm-callouts/admin/templates/managing-templates/schedule)
(and others)

---------

Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
Co-authored-by: M Atif Ali <atif@coder.com>
2025-03-10 16:58:20 -04:00

822 B

Headless Authentication

Headless user accounts that cannot use the web UI to log in to Coder. This is useful for creating accounts for automated systems, such as CI/CD pipelines or for users who only consume Coder via another client/API.

You must have the User Admin role or above to create headless users.

Create a headless user

CLI

coder users create \
  --email="coder-bot@coder.com" \
  --username="coder-bot" \
  --login-type="none \

UI

Navigate to the Users > Create user in the topbar

Create a user via the UI

To make API or CLI requests on behalf of the headless user, learn how to generate API tokens on behalf of a user.