Skip to content

Commit

Permalink
docs: add note about x-raw-client-cert option for Envoy mTLS MIG
Browse files Browse the repository at this point in the history
  • Loading branch information
danistrebel committed Sep 26, 2023
1 parent 7eac921 commit 491ca53
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/apigee-x-mtls-mig/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Managed Instance Group with Client Authentication (mTLS)

An managed instance group (MIG) that runs an Envoy proxy to terminate mTLS
before the traffic is sent to Apigee via one-way TLS.

Note that by default Envoy doesn't send the client certificate to the backend
service. To enable this you could define an x-header in the [envoy config](./envoy-config-template.yaml).

```yaml
route_config:
name: local_route
request_headers_to_add:
- header:
key: "x-raw-client-cert"
value: "%DOWNSTREAM_PEER_CERT%"
```
<!-- BEGIN_TF_DOCS -->
## Providers
Expand Down

0 comments on commit 491ca53

Please sign in to comment.