Skip to content

Commit

Permalink
Merge pull request #133 from apigee/docs/add-envoy-filter-note
Browse files Browse the repository at this point in the history
docs: add note about x-raw-client-cert option for Envoy mTLS MIG
  • Loading branch information
danistrebel authored Sep 26, 2023
2 parents 7eac921 + 491ca53 commit 6c5ffbc
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 6c5ffbc

Please sign in to comment.