Skip to content
Discussion options

You must be logged in to vote

There are currently three ways to create your first user/API key:

  1. NixOS module declarative config (your case), .e., declarative.users and declarative.api_keys. Since Circus is meant to be declarative, this is the recommended path
  2. Direct psql, I believe this is documented in INSTALL.md for API keys
  3. circusctl admin users create, works only after you have an admin key.

circusctl can do it but you need a bootstrap key first. I'll be updating the usage documentation to describe the first-user setup shortly. Also, from your configuration I can see that you've set API key in plaintext. This is okay for, e.g., read-only keys but it's a security issue when used with admin keys. I would encourage…

Replies: 2 comments 1 reply

This comment was marked as low quality.

Comment options

You must be logged in to vote
1 reply
@NotAShelf
Comment options

Answer selected by Kruziikrel13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants