7 lines
169 B
Bash
7 lines
169 B
Bash
|
#!/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
|