Skip to content
Rapadura NetworkPHP Com Rapadura

Esta página só existe em inglês. O menu e os outros textos seguem em português.

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