# RPC Keys

Manage workspace-scoped RPC keys (`vilna_rpc_...`) used to authenticate the blockchain JSON-RPC gateway (`rpc.vilna.io`). The raw secret is returned in the creation response, including authorized retries within its replay window.

 - [GET /workspaces/{workspace_id}/rpc/keys](https://docs.vilna.io/apis/mgmt/api/rpc_key/list-workspace-rpc-keys.md): Return workspace RPC keys.
 - [POST /workspaces/{workspace_id}/rpc/keys](https://docs.vilna.io/apis/mgmt/api/rpc_key/create-workspace-rpc-key.md): Create a new workspace RPC key. The raw secret can be replayed with the same intent for 60 seconds from successful creation, subject to current access and key state. Retries do not extend this window.
 - [GET /workspaces/{workspace_id}/rpc/keys/{key_id}](https://docs.vilna.io/apis/mgmt/api/rpc_key/get-workspace-rpc-key.md): Return a workspace RPC key by ID.
 - [POST /workspaces/{workspace_id}/rpc/keys/{key_id}/actions/revoke](https://docs.vilna.io/apis/mgmt/api/rpc_key/revoke-workspace-rpc-key.md): Revoke a workspace RPC key. Once revoked, the key can no longer be used for authentication.
