Manage API keys
AXTL supports agent-scoped API key operations. These keys are separate from the bearer token used to call the AXTL control API. Use platform bearer authentication to manage keys. Use the returned agent API key to invoke the deployed backend with:List keys
Create a key
data.key and safe key metadata at data.apiKey. The key metadata includes fields such as id, agentId, name, type, status, lastFour, and prefix.
Revoke a key
Rotate a key
data.key.
Key handling
- Store keys in a secret manager.
- Do not put keys in browser-side code.
- Rotate keys if they are exposed.
- Revoke keys that are no longer used.