envoyproxy / envoyproxy/gateway

Allow configuration / override of mutual TLS policy for individual HttpRoutes

Open
#8,097 3 comments 5 reactions 0 assignees View on GitHub
stale triage
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

*Description*:
Currently I define a ClientTrafficPolicy to specify mutual TLS settings - i.e. trusted client certificate CA and list of permitted certs by SHA256 hash or certificate SAN. The ClientTrafficPolicy is applied at the Gateway level which means that any HttpRoute using the gateway will use the policy. This is ok, but does not allow the granularity to permit access to individual HttpRoutes from specific client certs. e.g...
- Client Cert 1 has access only to HttpRoute1
- Client Cert 2 has access only to HttpRoute2

The only way to achieve this is for each HttpRoute resource to reference a dedicated Envoy gateway with its own ClientTrafficPolicy.

It would be nice to be able to specify the list of permitted client certs at the HttpRoute level. This would be comparable with ingress class implementations which allow specification of mutual TLS parameters within the specific ingress definition (albeit using annotations in some cases), while sharing the same ingress class.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.