We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8042dd commit e5b57a6Copy full SHA for e5b57a6
.vault-pass.sh
@@ -0,0 +1,5 @@
1
+#!/bin/bash
2
+# This script retrieves the password for the current git repository from a Bitwarden Vault.
3
+# If bw is not available, it should error out
4
+set -e
5
+bw get password "$(git remote get-url origin | awk '{split($0, a, "/"); print a[length(a)]}')"
0 commit comments