fix(hermes-agent): enable secret redaction by default
HERMES_REDACT_SECRETS is off by default, exposing API keys in chat output and session JSON files. Add HERMES_REDACT_SECRETS=true to the .env file created by the installer. Ref: https://github.com/NousResearch/hermes-agent/issues/17691
This commit is contained in:
@@ -52,6 +52,7 @@ API_SERVER_ENABLED=true
|
||||
API_SERVER_HOST=0.0.0.0
|
||||
API_SERVER_PORT=8642
|
||||
API_SERVER_KEY=${API_SERVER_KEY}
|
||||
HERMES_REDACT_SECRETS=true
|
||||
EOF
|
||||
chmod 600 /home/hermes/.hermes/.env
|
||||
chown hermes:hermes /home/hermes/.hermes/.env
|
||||
|
||||
Reference in New Issue
Block a user