rename pass_mgr to secret-mgr
This commit is contained in:
@@ -19,13 +19,13 @@ while [[ $# -gt 0 ]]; do
|
||||
esac
|
||||
done
|
||||
|
||||
# Default to pass_mgr if not provided
|
||||
# Default to secret-mgr if not provided
|
||||
if [[ -z "$username" ]]; then
|
||||
username=$(pass_mgr get-username --key keycloak)
|
||||
username=$(secret-mgr get-username --key keycloak)
|
||||
fi
|
||||
|
||||
if [[ -z "$username" ]]; then
|
||||
echo "Error: No keycloak username found in pass_mgr"
|
||||
echo "Error: No keycloak username found in secret-mgr"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user