Merge pull request #1512 from venezia/add_reflection

Add reflection to gRPC API (configurable)
This commit is contained in:
Stephan Renatus
2019-08-07 13:56:33 +02:00
committed by GitHub
8 changed files with 1561 additions and 4 deletions

View File

@@ -12,11 +12,13 @@ Admins that wish to expose the gRPC service must add the following entry to the
grpc:
# Cannot be the same address as an HTTP(S) service.
addr: 127.0.0.1:5557
# Server certs. If TLS credentials aren't provided dex will generate self-signed ones.
# Server certs. If TLS credentials aren't provided dex will run in plaintext (HTTP) mode.
tlsCert: /etc/dex/grpc.crt
tlsKey: /etc/dex/grpc.key
# Client auth CA.
tlsClientCA: /etc/dex/client.crt
# enable reflection
reflection: true
```
## Generating clients