API Keys
API keys let you connect Spectra to scripts, CI/CD, or automation tools. Keys are bound to the user who creates them and inherit that user’s permissions.


Create an API key
Section titled “Create an API key”When you create a key, you can:
- Add an optional name to identify the key later
- Set an optional expiration in days
All keys start with spectra_ so they are easy to spot in logs and integrations.


Related docs
Section titled “Related docs”Best practices
Section titled “Best practices”- Treat keys like passwords
- Rotate keys when access changes
- Use least-privilege access where possible