675 B
675 B
bitwarden-helper-scripts
These are just some helper scripts I put together to help when using the official Bitwarden CLI.
bwunlock.sh
Used to unlock a bitwarden vault and set the appropriate environment variables to keep the vault unlocked.
Usage Instructions
-
Copy the file to a location of your choosing, I use
/home/$USER/scripts
-
Set the following alias in your
~/.bashrc
:alias bw-unlock="source /home/$USER/scripts/bwunlock.sh"
-
Source your bashrc or close and re-open your shell
-
Run
bw-unlock
and imput your Bitwarden Master Password when prompted -
Run any Bitwarden command to ensure the script worked, like
bw list items