This repository has been archived on 2024-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
iris/util/secret-service-client.sh

11 lines
154 B
Bash
Raw Permalink Normal View History

2023-05-17 22:21:34 +00:00
#!/bin/bash
pass=`secret-tool lookup ansible_vault dataserver`
retval=$?
if [ $retval -ne 0 ]; then
echo Provide password:
read -s pass
fi
echo $pass