Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of VAULT-5935 agent: redact renew-self if using auto auth into release/1.10.x #15399

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #15380 to be assessed for backporting due to the inclusion of the label backport/1.10.x.

The below text is copied from the body of the original PR.


Vault agent redacts the token and accessor for /auth/token/lookup-self (and lookup)
if the token is the auto auth token to prevent it from leaking.

Similarly, we need to redact the token and accessor from renew-self
and renew, which also leak the token and accessor.

I tested this locally by starting up a Vault agent and querying the
agent endpoints, and ensuring that the accessor and token were set to
the empty string in the response.

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/VAULT-5935-redact-renew-self/seriously-splendid-eft branch from eb33ea6 to 886b6b2 Compare May 12, 2022 16:26
@swenson swenson merged commit 7647784 into release/1.10.x May 12, 2022
@swenson swenson deleted the backport/VAULT-5935-redact-renew-self/seriously-splendid-eft branch May 12, 2022 17:05
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.

None yet

3 participants