ansible/vault-client.sh

7 lines
169 B
Bash
Raw Normal View History

2022-07-19 11:44:55 +02:00
#!/bin/bash
if [ $# -ne 2 ] || [ $1 != "--vault-id" ]; then
>&2 echo "Usage: vault-client.sh --vault-id [vault-id]"
exit 1
fi
keyring get ansible-painsperdus vault-$2