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.9.x #15397

Commits on May 12, 2022

  1. VAULT-5935 agent: redact renew-self if using auto auth (#15380)

    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.
    swenson authored and Christopher Swenson committed May 12, 2022
    Configuration menu
    Copy the full SHA
    b1cdf3a View commit details
    Browse the repository at this point in the history