Quartyz provides a command-line interface (CLI) called qz. Installation is via NPM or Homebrew:
npm install -g @quartyz/cli
After installation, authenticate with your key:
qz login --key qz_live_3f8d2c1b9a7e5d4c
Or export it:
export QUARTYZ_KEY=qz_live_3f8d2c1b9a7e5d4c
Then run commands:
qz assets list
qz functions invoke myFunction
The CLI automatically handles key rotation. When a key expires, it prompts you for a new one but does not store old keys.
Because Quartyz does not store raw keys for security, there is no "forgot my key" password reset. The only solution is to generate a new key and update all your applications and CI/CD pipelines accordingly.
To avoid this pain:
Once generated, copy your key immediately. Store it in an environment variable, never hardcode it in frontend code.
# Example .env file
QUARTYZ_API_KEY=your_key_here
A single static key is a liability. The Quartyz platform encourages (and some plans enforce) automated key rotation. Implement a lifecycle:
Pro tip: Use different keys for different environments. For example: Https Quartyz.dev Key
Click “Generate Key”, give it a name (e.g., “My App”), and choose the appropriate permissions.
If you have not yet generated your key, follow this procedure carefully. The process is designed to be intuitive but requires account verification.
Go to Quartyz.dev and sign up for an account. Quartyz provides a command-line interface (CLI) called qz