Skip to content

ohyeahyao/vault-startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vault Startup

vault architecture

.
├── infra               # Vault Infra Deploy
├── secret-management   # Vault Secret Management
├── my-gpg-key.asc      # GPG Private Key
└── .sops.yaml          # SOPS Configuration 

Vault Infra Deploy

When you are deploying and setting vault server, you might check out documentation on infra.

Vault Secret Management

If you wanna deploy secret into your multiple clusters, you might want to check out documentation on secret-management.

Other Notes

GPG

Generate GPG Key

$ 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

Export to File

gpg --export-secret-keys -a my-sops-key > ./my-gpg-key.asc

Import GPG Key

gpg --import ./my-gpg-key.asc

NOTE my-gpg-key.asc is PGP private key for presentation, And does not commit it in production.