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

Allow authentication with Kubernetes JWT token #138

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

rdrgmnzs
Copy link
Contributor

This PR allows authentication using the Kubernetes JWT token located in /var/run/secrets/kubernetes.io/serviceaccount/token inside a Kubernetes pod.

My use case is that I have a cronjob to continuously backup vault, however I'd like to not store a Vault token as a Kubernetes secret and instead want to just rely on the Pods/ServiceAccounts JWT token to authenticate against vault.

I was able to test and verify things work as expected.

@codecov-commenter
Copy link

Codecov Report

Merging #138 (8140d22) into main (06aea40) will not change coverage.
The diff coverage is n/a.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@           Coverage Diff           @@
##             main     #138   +/-   ##
=======================================
  Coverage   70.00%   70.00%           
=======================================
  Files           2        2           
  Lines          20       20           
=======================================
  Hits           14       14           
  Misses          5        5           
  Partials        1        1           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jonasvinther jonasvinther merged commit a60bef4 into jonasvinther:main Sep 20, 2023
5 checks passed
@jonasvinther
Copy link
Owner

@rdrgmnzs thank you for your contribution 🙏🏼

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