Synopsis
Creates the keys, the state bucket and the five IAM identities, and checks the hosted zone. Idempotent in the sense of touch: it makes absent things exist, leaves present ones alone, and says what it did. Run by an administrator, once per account. NOT by CI — creating IAM roles requires iam:CreateRole and PutRolePolicy, which together are the ability to grant yourself anything, and a deploy role holding those means compromising the pipeline compromises the account. CI runskubox admin aws verify, which needs
only iam:SimulatePrincipalPolicy.
Use —dry-run first. It performs every read, no writes, and prints a plan:
what must already be true, and what would change. Works on an EMPTY account,
where the policies cannot be previewed because they are scoped to keys that
do not exist yet — the plan says which identities would be made and that
their documents are not previewable, rather than refusing.
--dry-run -o json is reviewable by somebody who is not at the terminal.
Options
Global options
See global options.SEE ALSO
- kubox admin aws - Render and verify the IAM policies a Kubox deployment needs