Skip to main content
Print the IAM policy for one Kubox identity

Synopsis

Renders an embedded policy document for a named identity. Makes no AWS calls and needs no credentials, so the document can be read before it is granted, and diffed against what is actually attached. Pipe it straight in: kubox admin aws policy —identity runner —plane-account 123456789012 … | aws iam put-role-policy —role-name KuboxRunner
—policy-name KuboxRunner —policy-document file:///dev/stdin
Inline rather than managed, so there is no five-version ceiling to hit and the document cannot be attached to some other role by accident.

Options

Global options

See global options.

SEE ALSO

  • kubox admin aws - Render and verify the IAM policies a Kubox deployment needs