Lightweight bitwarden-cli wrapper to sync and backup credentials to an already trusted provider.
Upload basically saves the file you provide as a note in your bitwarden vault. Download searches and downloads the bitwarden note into a local file.
so you can easily upload a .credentials file into a "bitwarden-secured" note - and whenever you need it (f.e. setup a new nix machine) download it. Source it in .bashrc and you're good to go.
Working with several API Providers, different tools and a bunch of other things requireing Keys or Passwords set as environment variables, I felt the need of having a stupid simple way to securely backup and sync those environemnt variables preventing any leaks in any repos.
The credentials are used on different machines, so i would need a way how to sync them accross machines as well - which (if done securely) is another challange.
Already using bitwarden, I think having my credentials stored beside my other credentials might make sense and doesn't introduce another tool to think about.
That's what nixwarden should take care.
nixwarden down .credentialsnixwarden up .credentialsnixwarden --help