b is (an ugly) a tool that allows you to copy your Bitwarden/Vaultwarden password directly from your terminal.
bw
(Bitwarden cli)xclip
jq
fzf
fzf-tmux
You need to create a Bitwarden token, check documentation here. Then set variables in b script.
# Fill these vars
export BW_CLIENTID=''
export BW_CLIENTSECRET=''
export BW_PASSWORD=''
Finally move b
file to /usr/local/bin
.
sudo mv b /usr/local/bin
Search for a password :
# ex, search github password
b github
Sync vault (download new password from Bitwarden/Vaultwarden server):
b --sync