--license-key
- CLI
- --license-key
- REST
- CLI only
Registers the key when given without a URL: activates it, saves it to the configuration file and prints the license tier. With a URL, renders that URL under this key.
CI minutes
Keys prefixed with EPHEM- draw from a monthly minute pool designed for ephemeral CI runners. Multiple machines can use the same key concurrently; each machine is billed in whole wall-clock minutes shared across all ZShot processes running on it.
ZShot renews its lease periodically while running, releases unused time on exit, and never writes EPHEM- keys to the configuration file. When the pool is exhausted, ZShot exits with code 20.
Keys prefixed with EPHEM-GITHUB- are restricted to GitHub Actions jobs in the owning account and require permissions: id-token: write.
Example
Register a license key manually:
zshot --license-key "MY-ZSHOT-LICENSE-KEY"Use a specific license key for a request:
zshot --license-key "MY-ZSHOT-LICENSE-KEY" "https://zshot-cli.com/"Check a particular license key’s status:
zshot --license-key "MY-ZSHOT-LICENSE-KEY" --license-info