scripts v1
This commit is contained in:
13
ansible/unlock.sh
Executable file
13
ansible/unlock.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Author: Landon Dyck
|
||||
# Will prompt for your bitwarden vault password and retain the open session in your environment
|
||||
# Idempotent
|
||||
|
||||
# Usage: $ . ./unlock.sh
|
||||
|
||||
if [[ -z "${BW_SESSION}" ]]; then
|
||||
export BW_SESSION=$(bw unlock --raw)
|
||||
fi
|
||||
|
||||
bw sync
|
||||
Reference in New Issue
Block a user