Esta página só existe em inglês. O menu e os outros textos seguem em português.
rapadura agent create
Mint an agent's token; the secret is shown once
rapadura agent create --name NAME [--apps a,b|*] [--actions x,y] [--ttl 720h] [flags]
Options
--actions strings the actions it may take, comma separated (default: every one of approval.request, artisan.run, caps.read, cron.write, domain.request, env.read, env.write, operation.read, site.create, site.delete, site.publish, site.read, site.restore, site.rollback). Profile actions profile.read and profile.write are explicit account-scoped opt-ins, independent of --apps. The recipe actions are explicit opt-ins, never in the default and never on *: they need exact hosts in --apps and the literal action here: recipe.form.manage, recipe.form.read, recipe.room.manage
--apps strings the apps it may act on: hosts you manage, comma separated, or * for all of them (a recipe action needs exact hosts, not *) (default [*])
-h, --help help for create
--max-pending int changes it may have queued or running at once; 0 is the gateway's default
--name string what the agent is called (shown in 'agent list' and the audit log)
--ttl string how long it lives, at most 90 days (2160h); 720h or 30d (default "720h")
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 agent - Give an agent a token of its own, with the apps and actions it may use