Skip to content

kajdo/nixwarden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixwarden

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.

Motivation

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.

Getting Started

Download credentials-file from bitwarden

nixwarden down .credentials

Upload credentials-file to bitwarden

nixwarden up .credentials

Help

nixwarden --help

About

Lightweight script to save my env vars in bitwarden.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors