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

Agent auto-auth from token in a file #16637

Closed
ammarzuberi opened this issue Aug 9, 2022 · 4 comments
Closed

Agent auto-auth from token in a file #16637

ammarzuberi opened this issue Aug 9, 2022 · 4 comments

Comments

@ammarzuberi
Copy link

ammarzuberi commented Aug 9, 2022

Is your feature request related to a problem? Please describe.
We auto-auth the Vault agent using a JWT in production. I want to use the Vault agent in my local development environment where we get tokens by authenticating with OIDC.

Describe the solution you'd like
Auto-auth should have an option that does not actually authenticate, but instead reads the token from ~/.vault-token and/or an arbitrary file path.

Describe alternatives you've considered
Abusing a different type of auto-auth token, forwarding the agent port from servers that are auto-auth'd, etc.

@VioletHynes
Copy link
Contributor

Hi there! Going to close this issue, as this feature has been implemented in #18740 and will be available in Vault 1.13.

Thanks for the report. The enthusiasm for this feature helped us prioritize it!

@ammarzuberi
Copy link
Author

Thanks a lot!

@HomeOfTheWizard
Copy link

Hi, is there a documentation for this feature ? I couldn't fine any :(

@VioletHynes
Copy link
Contributor

@HomeOfTheWizard https://developer.hashicorp.com/vault/docs/agent-and-proxy/autoauth/methods/token_file

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

No branches or pull requests

4 participants