Authentication
ShieldAgent uses Bearer token authentication for all API and proxy requests. Proxy access uses a JWT agent token generated in the dashboard, and management operations use a separate admin API key .
Token types
JWT (eyJ…)Use: Authenticate MCP proxy requests. Scoped to a single agent within a tenant. Generated and rotated from the dashboard.
Obtain: Dashboard → Agents → [your agent] → Keys → Copy Token
Opaque tokenUse: Manage tenants, agents, policies, and audit logs via the REST API.
Obtain: Dashboard → Settings → API Keys → New Key
Making authenticated requests
Pass the token in the Authorization header. Copy your agent JWT from Dashboard → Agents → [your agent] → Keys.
SDK examples have been retired. For a supported integration, use the OpenAPI reference.
Key rotation
Rotate agent keys without downtime using the two-key overlap pattern:
- 1.Generate a new key — the old key remains active.
- 2.Update your agent configuration to use the new key.
- 3.Verify the new key is working in the dashboard Events tab.
- 4.Revoke the old key.