mix kantoor.api_key.create (Kantoor v1.0.0)

Creates an operator API key for the provisioning API and prints it once. This is how the first key is made, before anyone can open the admin screen.

mix kantoor.api_key.create --name balie --operator balie
mix kantoor.api_key.create --name balie-ro --operator balie --scope provisioning:read

Options: --name (required), --operator (required: the owner of the resources the key provisions), --scope (repeatable; default provisioning), --rate-limit (requests per minute). In a release use bin/kantoor eval 'Kantoor.Release.create_api_key("balie", "balie")'.