Skip to content

Redact the token from the log - #32038

Open
kevinbackhouse wants to merge 1 commit into
hashicorp:mainfrom
kevinbackhouse:fix-issue-32036
Open

Redact the token from the log#32038
kevinbackhouse wants to merge 1 commit into
hashicorp:mainfrom
kevinbackhouse:fix-issue-32036

Conversation

@kevinbackhouse

Copy link
Copy Markdown

Description

Fix #32036: a vault token is getting written to the log in plaintext. This PR changes the logging so that it writes <redacted> rather than the actual token.

TODO only if you're a HashiCorp employee

  • Backport Labels: If this fix needs to be backported, use the appropriate backport/ label that matches the desired release branch.
    • LTS: If this fixes a critical security vulnerability or severity 1 bug, it will also need to be backported to the current LTS versions of Vault. To ensure this, use all available enterprise labels.
  • Jira: If this change has an associated Jira, it's referenced either in the PR description, commit message, or branch name.
  • RFC: If this change has an associated RFC, please link it in the description.

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've documented the impact of any changes to security controls.

Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@kevinbackhouse
kevinbackhouse requested a review from a team as a code owner July 20, 2026 11:40
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

The `vercel.json` schema validation failed with the following message: should NOT have additional property `public`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 20, 2026
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vault-ui Error Error Jul 20, 2026 11:41am

Request Review

@hashicorp-cla-app

hashicorp-cla-app Bot commented Jul 20, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker size:XS This PR changes 0-9 lines, ignoring generated files. test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VAULT_TOKEN leakage in Vault docker testcluster environment using version v0.25.1.

2 participants