add DNS SAN as principal (#7881)

Description: Adds support for DNS SAN as Principal in RBAC filter.
Risk Level: Low
Testing: Added automated tests
Docs Changes: Updated
Release Notes: Added
Fixes #7836

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

Mirrored from https://github.com/envoyproxy/envoy @ 882a30677619856446f7e1b9d28c6ab319b21d1b
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 88cc388b31
commit f99ebba8ae
  1. 5
      envoy/config/rbac/v2/rbac.proto

@ -170,8 +170,9 @@ message Principal {
reserved 1;
reserved "name";
// The name of the principal. If set, The URI SAN is used from the certificate, otherwise the
// subject field is used. If unset, it applies to any user that is authenticated.
// The name of the principal. If set, The URI SAN or DNS SAN in that order is used from the
// certificate, otherwise the subject field is used. If unset, it applies to any user that is
// authenticated.
envoy.type.matcher.StringMatcher principal_name = 2;
}

Loading…
Cancel
Save