> ## 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.

# Asymmetric

> RS256 AgentOS RBAC examples for generated keys, custom scope mappings, and WorkOS-issued tokens.

| Example                                                                                   | Description                                                                                                                                          |
| ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Basic](/examples/agent-os/rbac/asymmetric/basic)                                         | Enable RBAC (Role-Based Access Control) with JWT token authentication using RS256 asymmetric keys.                                                   |
| [Custom Scope Mappings Example](/examples/agent-os/rbac/asymmetric/custom-scope-mappings) | Attach JWTMiddleware with RS256 keys and a per-endpoint scope\_mappings table so routes such as POST /agents/\*/runs require multiple custom scopes. |
| [WorkOS BYOT](/examples/agent-os/rbac/asymmetric/workos-byot)                             | Validate WorkOS-issued RS256 tokens and provision three AgentOS RBAC roles through the API.                                                          |
