.
├── infra # Vault Infra Deploy
├── secret-management # Vault Secret Management
├── my-gpg-key.asc # GPG Private Key
└── .sops.yaml # SOPS Configuration
When you are deploying and setting vault server, you might check out documentation on infra.
If you wanna deploy secret into your multiple clusters, you might want to check out documentation on secret-management.
$ gpg --batch --full-generate-key <<EOF
%no-protection
Key-Type: 1
Key-Length: 4096
Subkey-Type: 1
Subkey-Length: 4096
Expire-Date: 0
Name-Comment: sops secrets
Name-Real: my-sops-key
EOF
gpg --export-secret-keys -a my-sops-key > ./my-gpg-key.asc
gpg --import ./my-gpg-key.asc
NOTE my-gpg-key.asc is PGP private key for presentation, And does not commit it in production.