Description:
Currently the Envoy Gateway only allows to use the Credential Injector for Basic Auth with Proxied Requests to upstream. But what if we need JWT Tokens? Sure, there is the generic_secret and you can use a Kubernetes Secret to insert a JWT for Bearer auth - BUT: what if the tokens need to be refreshed regularly? There actually is an oauth2 credential injector according to the envoy proxy docs, but one cannot use it yet on the gateway, as the Envoy API Extensions only allows for a secret ref, not the configuration we'd need.
[optional Relevant Links:]
Description:
Currently the Envoy Gateway only allows to use the Credential Injector for Basic Auth with Proxied Requests to upstream. But what if we need JWT Tokens? Sure, there is the generic_secret and you can use a Kubernetes Secret to insert a JWT for Bearer auth - BUT: what if the tokens need to be refreshed regularly? There actually is an oauth2 credential injector according to the envoy proxy docs, but one cannot use it yet on the gateway, as the Envoy API Extensions only allows for a secret ref, not the configuration we'd need.
[optional Relevant Links:]