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
2023-05-18 00:21:34 +02:00

10 lines
154 B
Bash
Executable file

#!/bin/bash
pass=`secret-tool lookup ansible_vault dataserver`
retval=$?
if [ $retval -ne 0 ]; then
echo Provide password:
read -s pass
fi
echo $pass