envoyproxy/envoy

xDS gRPC CallCredentials: support loading service account key from file system

Open

#10.459 aperta il 19 mar 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/grpchelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

Today when using a service account key as xDS gRPC call credentials, the content of the service account key needs to be included in Envoy bootstrap config. E.g.

grpc_services:
    - google_grpc:
        ...
        call_credentials:
          service_account_jwt_access:
            json_key: <content of service account key>
            token_lifetime_seconds: xxx

It would be better, if there is an option to keep service account key outside of bootstrap config in a file and reference the file path in bootstrap config.

Guida contributor