API Keys

Mint long-lived tokens for programmatic access to the Bastionary command API. Keys carry your user identity and permissions. Store them like passwords — they're shown exactly once at creation.

0
Total Keys
0
Active
0
Expiring Soon
0
Unique Scopes
Your API keys
Tokens that identify your integrations to Bastionary.
🔑
No API keys yet
Click "New API key" to mint your first token.
NamePrefixScopesLast usedExpiresActions
Using your key
Send it as a bearer token in the Authorization header:
curl -X POST https://bastionary.dev/api/v1/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"command":"USER.ME","params":{}}'