Browse documentation
← CLI reference

Command

cscale key create

Create a check-only key: save it privately, or export it once with --print. Requires your passkey when the layer is on

CLI 0.2.11

cscale key create [OPTIONS]

Examples

Create a check key and replace this server's saved check key.

cscale key create --name laptop --replace

Export a new check key once on stdout for piping into a CI secret store.

cscale key create --name ci --print

Options

--help

Print help (see a summary with '-h')

--json

Print JSON, for agents and scripts

Default: false

--name <NAME>

A name for this agent's check-only key. Defaults to cscale on this machine's name

--no-browser

Never open a browser: print the page to open instead. Pages that confirm with your passkey, auth login, and web open one

Default: false

Environment: CSCALE_NO_BROWSER

--print

Print the new key once on stdout for a secret-store pipe, with a warning on stderr. Do not save it locally

Default: false

--replace

Replace this server's saved check key. The old key is not revoked

Default: false

--server <SERVER>

The Commitscale server, such as https://commitscale.com

Environment: CSCALE_SERVER