Add --public flag to secret-mgr get-secret
This commit is contained in:
@@ -110,7 +110,7 @@ openclaw config set bindings "$NEW_BINDINGS"
|
|||||||
rm -f "$BINDINGS_LOCK"
|
rm -f "$BINDINGS_LOCK"
|
||||||
|
|
||||||
# Step 4: Configure interviewee account
|
# 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
|
if [[ -z "$TOKEN" ]]; then
|
||||||
echo "Error: failed to get interviewee-discord-token from secret-mgr" >&2
|
echo "Error: failed to get interviewee-discord-token from secret-mgr" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user