Creating new user from NixOS Module Declaration #113
|
tl;dr; Outside of the demo vm / using the NixOS module, how can I create a new user which I can login as in the Web UI, as well as create an API key to use with I might be early to the party with using this. But I was JUST about to setup hydra for automated binary cache builds, and saw this and figured I'd go with this to save time having to dramatically reimpl CI. I am using the I couldn't find anything in docs regarding a prod setup for creating a user, it only appeared the demo vm has been documented... or perhaps I missed the docs. Just create the user through |
Replies: 2 comments 1 reply
This comment was marked as low quality.
This comment was marked as low quality.
|
There are currently three ways to create your first user/API 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 you to use P.S.: you're a little early, but it's not necessarily a bad time to adopt Circus. I welcome feedback, and Circus is already deployed for our infrastructure so we catch critical bugs early. |
There are currently three ways to create your first user/API key:
declarative.usersanddeclarative.api_keys. Since Circus is meant to be declarative, this is the recommended pathcircusctl 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…