Skip to content

Improve secrets handling - #361

Draft
Thom Chiovoloni (thomcc) wants to merge 4 commits into
microsoft:mainfrom
thomcc:thomcc/secrets-part1
Draft

Improve secrets handling#361
Thom Chiovoloni (thomcc) wants to merge 4 commits into
microsoft:mainfrom
thomcc:thomcc/secrets-part1

Conversation

@thomcc

Copy link
Copy Markdown

This is still very WIP. Several parts of it (script changes) were made just to get things working in my env (I'll pull them into a separate PR later, or adjust my env so that they aren't needed), and it only handles redaction and stripping of logs. Still working on this.

Thom Chiovoloni added 4 commits August 25, 2026 16:27
Adds `pg_durable.log_workflow_sql` postmaster GUC. This controls
whether or not the worker will write the fully substituted SQL text
of a workflow node to the server log.

Redacts URLs in logs and errors. Query parameter values, user
info, and the fragment are elided. This means that an Azure SAS
token, or `?api-key=` won't reach the PG server log,
`df.nodes.error`, or durable execution history. Other parts of the
URL are preserved. Error text from the HTTP client is scrubbed too,
since it interpolates the URL.

Adds documentation that's honest about df.vars and potential
exposure to USER_GUIDE.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant