Where are the secrets? #245
-
|
Hi @geerlingguy! Love that you share your personal setup with the community, thanks! I want to do the same, but secrets are holding me back. I need to install private SSH-keys for example. And of course they are encrypted with ansible-vault and the vault password is not stored in the repo, but still it doesn't feel right to share encrypted secrets with the world. So how are you handling secrets on your dev Mac? Hope to learn from you! Cheers, Sebastiaan |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Please see Ansible's vault guide: https://docs.ansible.com/projects/ansible/latest/vault_guide/index.html I'll either have a vault password file I pass in on the CLI, or configure that for some projects in my |
Beta Was this translation helpful? Give feedback.
Ah yes; for a few projects I include an encrypted vault file. But for this one I don't, I have the secrets backed up in an encrypted disk image that I sync to my computers with Dropbox. I have a little script that copies the secrets into my .ssh folder and other .config folders separately.
I figure I'd rather hold those things out of any public repo, in case something like quantum encryption cracking is a thing and the various ciphers used are deemed insecure.