mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
b36da40ab6
When using OPA TLS authorization, authz policy authors will now have access to the client certificates presented as part of the TLS connection. This new data will be available under the key `client_certificates`. The existing functionality where `identity` is set to the Subject RDN Sequence is left unchanged. When using x.509 SVIDs the SPIFFEID is presented as in the SANs of the certificate. So this change makes that data available should users require it. It also makes other information about the client cert available to authz policy too. Signed-off-by: Charlie Egan <charlie@styra.com>