## rapadura agent Give an agent a token of its own, with the apps and actions it may use ### Synopsis An agent that works for you (a coding agent, a CI job) should not hold your own token. 'agent create' mints it one with a grant: the apps it may act on, the actions it may take, and an expiry (at most 90 days). It can never set a secret, approve a request, review code or mint another token, whatever the grant says. Only your own token mints, lists and revokes these. rapadura agent create --name ci-bot --apps meetup.rapadura.net --actions site.read,site.publish --ttl 720h rapadura agent list rapadura agent revoke 12 rapadura agent grant # what the token in use may do ### Options ``` -h, --help help for agent ``` ### Options inherited from parent commands ``` --gateway string gateway URL (default from credentials, RAPADURA_GATEWAY or http://127.0.0.1:8090) --json machine-readable JSON output --request-key string a key (1 to 128 printable characters) that makes sending this change again safe: the gateway answers the first attempt's operation (default: a fresh random key per command) ``` ### SEE ALSO * [rapadura](rapadura.md) - Publish and manage sites and apps on rapadura.space * [rapadura agent create](rapadura_agent_create.md) - Mint an agent's token; the secret is shown once * [rapadura agent grant](rapadura_agent_grant.md) - Show what the token in use may do: its kind, apps, actions, limits and expiry * [rapadura agent list](rapadura_agent_list.md) - List your agents' tokens that still work * [rapadura agent revoke](rapadura_agent_revoke.md) - Revoke an agent's token: its new actions stop within a minute, work not started is cancelled