hashicorp / vault-plugin-auth-kubernetes

Vault authentication plugin for Kubernetes Service Accounts
https://www.vaultproject.io/docs/auth/kubernetes.html
Mozilla Public License 2.0
206 stars 62 forks source link

Switch from golang-jwt to cap+jose #151

Closed swenson closed 2 years ago

swenson commented 2 years ago

Overview

This caused stricter token checking around for Issued At and Expiration, so we cleaned up the tokens in the tests to be stored in plain JSON and signed as part of the test initialization to make it easier to see what is going on. This also means that the tests won't start mysteriously failing in 2030. :)

We also updated to the latest hashicorp/cap library to support Kubernetes 1.20 tokens.

Related Issues/Pull Requests

Contributor Checklist

swenson commented 2 years ago

Thanks!