Explorar o código

Merge pull request #79 from a11r/d7

Update grpc-auth-support.md
Yang Gao %!s(int64=10) %!d(string=hai) anos
pai
achega
edfc0ec9fe
Modificáronse 1 ficheiros con 4 adicións e 5 borrados
  1. 4 5
      grpc-auth-support.md

+ 4 - 5
grpc-auth-support.md

@@ -63,11 +63,10 @@ grpc::Status s = stub->sayHello(&context, *request, response);
 
 
 This credential works for applications using Service Accounts as well as for 
 This credential works for applications using Service Accounts as well as for 
 applications running in Google Compute Engine (GCE). In the former case, the
 applications running in Google Compute Engine (GCE). In the former case, the
-service account’s private keys are expected in file located at [TODO: well
-known file fath for service account keys] or in the file named in the environment
-variable [TODO: add the env var name here]. The keys are used at run-time to
-generate bearer tokens that are attached to each outgoing RPC on the
-corresponding channel.
+service account’s private keys are loaded from the file named in the environment
+variable `GOOGLE_APPLICATION_CREDENTIALS`. The
+keys are used to generate bearer tokens that are attached to each outgoing RPC 
+on the corresponding channel.
 
 
 For applications running in GCE, a default service account and corresponding
 For applications running in GCE, a default service account and corresponding
 OAuth scopes can be configured during VM setup. At run-time, this credential
 OAuth scopes can be configured during VM setup. At run-time, this credential