envoyproxy / envoyproxy/gateway
Support audiences from secret in JWTProvider
- Dominant language
- Go
- Stars
- 3k
- Forks
- 864
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 140
Description
*Description*:
>Right now when using the JWTProvider in the SecuityPolicy custom resource, the audiences need to be added as a string array directly into the spec. Ideally, I would like to use a value from a Kubernetes secret to get the allowed audience. This will give a unified way to enforce OIDCProvider / JWTProvider in the security policy. OIDCProvider allows Client Id and Client Secret to come from secret. The same Client Id is normally used as the value for allowed audience so same secret can be referenced. An admin can make this secret ahead of time in user's namespace, and it can be used for OIDC + JWT validation without the user needing to pull the client id value to use in audience for their JWT section.
[optional *Relevant Links*:]
> https://gateway.envoyproxy.io/docs/api/extension_types/#jwtprovider
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.