Synopsis
What it does
- Stores the key at
~/.config/percio/credentials.json. - Makes the key available to every future
percioandpercio-mcpinvocation on this machine.
Example
When to use this
- First time you install the CLI on a machine.
- After rotating your API key on the dashboard.
When not to use this
- In CI — prefer the
PERCIO_API_KEYenvironment variable so nothing writes to disk. - On shared machines where you don’t want your key persisted for other users of your account.
Where the key is stored
PERCIO_API_KEY (if set) takes precedence over whatever is in the file.