Add --public flag to secret-mgr get-secret

This commit is contained in:
lyn
2026-04-12 14:32:15 +00:00
parent 1d8427422a
commit f73fd68e49

View File

@@ -110,7 +110,7 @@ openclaw config set bindings "$NEW_BINDINGS"
rm -f "$BINDINGS_LOCK"
# Step 4: Configure interviewee account
TOKEN=$(secret-mgr get-secret --key interviewee-discord-token 2>/dev/null || echo "")
TOKEN=$(secret-mgr get-secret --key interviewee-discord-token --public 2>/dev/null || echo "")
if [[ -z "$TOKEN" ]]; then
echo "Error: failed to get interviewee-discord-token from secret-mgr" >&2