> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# RBAC

> JWT-based AgentOS RBAC examples for symmetric and asymmetric keys, scope mapping, and user isolation.

| Example                                                   | Description                                                                                                                                                                     |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Asymmetric](/examples/agent-os/rbac/asymmetric/overview) | RS256 AgentOS RBAC examples for generated keys, custom scope mappings, and WorkOS-issued tokens.                                                                                |
| [Symmetric](/examples/agent-os/rbac/symmetric/overview)   | Symmetric-key (HS256) RBAC examples for AgentOS: basic JWT scopes, per-agent permissions, advanced scope formats, custom scope mappings, cookie tokens, and per-user isolation. |
| [Test Scopes](/examples/agent-os/rbac/test-scopes)        | Test JWT scope enforcement against AgentOS agent, workflow, and component endpoints.                                                                                            |
