cluster-bootstrap-cli initInteractive setup to configure encryption and create per-environment secrets files.
- Prompts for encryption provider (age, AWS KMS, GCP KMS, or git-crypt)
- For SOPS providers: collects the encryption key, generates
.sops.yaml, creates encryptedsecrets.<env>.enc.yamlfiles - For git-crypt: verifies
git-crypt inithas been run, ensures.gitattributeshas the git-crypt pattern, creates plaintextsecrets.<env>.yamlfiles (encrypted transparently on commit)
| Flag | Description |
|---|---|
--provider |
Encryption provider: age, aws-kms, gcp-kms, or git-crypt |
--age-key-file |
Path to age public key file |
--kms-arn |
AWS KMS key ARN |
--gcp-kms-key |
GCP KMS key resource ID |
--output-dir |
Output directory (default: current directory, or --base-dir if set) |