envoyproxy / envoyproxy/gateway

Add support for sending client certificate to extauth service

Open
#7,360 4 comments 1 reaction 0 assignees View on GitHub
stale triage
Dominant language
Go
Stars
3k
Forks
864
Avg merge
1d 22h
Merged PRs (30d)
148

Description

*Description*:
>Describe the desired behavior, what scenario it enables and how it
would be used.

I would like to be able to send the client certificate to an extAuth service. Currently the `SecurityPolicy` spec does not allow for this to be configured. I would expect it to be configured something like the following:

```
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: SecurityPolicy
metadata:
name: ext-auth-example
spec:
targetRefs:
- group: gateway.networking.k8s.io
kind: HTTPRoute
name: myapp
extAuth:
http:
backendRefs:
- name: http-ext-auth
port: 9002
headersToBackend: ["x-current-user"]
includePeerCertificate: true
```

Not sure if this setting should also apply to gRPC?

[optional *Relevant Links*:]
>Any extra documentation required to understand the issue.

https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_authz/v3/ext_authz.proto#envoy-v3-api-field-extensions-filters-http-ext-authz-v3-extauthz-include-peer-certificate

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.