Create and manage API keys
API keys authenticate programmatic access to one Bytes workspace.
Create a key
- Open the correct workspace.
- Open Workspace Settings.
- Open Developer API.
- Create a key with a name that describes its purpose.
- Copy the plain-text key immediately.
The complete key is only shown when it is created.
Name keys clearly
Examples include:
- Website form automation
- Internal reporting script
- Cops & Coffee event importer
- Local CLI
Store keys safely
Treat an API key like a password.
Do not:
- commit it to Git
- paste it into client-side browser code
- put it in screenshots
- share it in chat
- save it in a public document
Revoke unused keys
Revoke a key when its purpose has ended, a service is retired or you believe it may have been exposed.