summaryrefslogtreecommitdiff
path: root/shell-scripts/pass-ansible-vault-client
blob: 8b8d026aeb1979b379a16c93713c0f412563041a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!@bash@/bin/bash
VAULT_ID=""
while [[ $# -gt 0 ]]; do
    case $1 in
        --vault-id)
            VAULT_ID=$2
            shift
            shift
            ;;
        --vault-id=*)
            VAULT_ID="${1#*=}"
            shift
            ;;
    esac
done

pass show work/ansible-vault/$VAULT_ID