Unix & Linux Asked on December 10, 2021
I guess ~/.config
(XDG_CONFIG_HOME
) is not correct because that way users have to be constantly aware which files are safe to commit to their dotfiles repository.
have a look at the freedesktop.org's Secret Storage Spec (Version 0.2 Working Draft)
This way you can have the credentials saved in a keyring that is unlocked when the user logs in.
Answered by wbob on December 10, 2021
Why not put it next to your SSH key in ~/.ssh
? Sounds like it serves kind of the same purpose.
Alternatively, you could use something like Hashicorp Vault to store secrets.
Answered by Artur Meinild on December 10, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP