Skip to content

[Bug]: OpenClaw Config Raw redacts way too much and can't save file #32164

@dennisvanderpool

Description

@dennisvanderpool

Bug type

Regression (worked before, now fails)

Summary

Image

Implemented new secret refs schema. Works fine. However editing the file in raw mode is now broken. File is redacted too much and file will not pass schema validation with any real modifications. File on disk is ok.

Steps to reproduce

  1. Implement secrets ref as per https://docs.openclaw.ai/gateway/secrets
  2. Add provider (env?) and add values
  3. openclaw secrets audit finds all ok
  4. openclaw starts fine without an issue
  5. Try to modify a small item in config in raw mode -> impossible due to redacting too much and stuff that does not need redaction.

Expected behavior

Redaction not needed, I don't have any secrets in my file anymore

Actual behavior

Too much redaction, even stuff that does not need redaction

OpenClaw version

2026.3.1 (2a8ac97)

Operating system

ArchLinux

Install method

default bash script from site

Logs, screenshots, and evidence

Impact and severity

Affected users: Only those who implement secrets management as per https://docs.openclaw.ai/gateway/secrets ?
Severity: annoying. I will now edit json file with vim, missing validation from gui which I liked
Frequency: All the time now
Consequence: Workaround needed

Additional information

Was ok before using secrets management

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions