Skip to content
Snippets Groups Projects
Commit 374cd9b0 authored by Yang Gao's avatar Yang Gao
Browse files

Merge pull request #3266 from grpc/jtattermusch-patch-2

Allow using service account credential for per_rpc_creds interop test.
parents 5e2617ba e3a65a11
No related branches found
No related tags found
No related merge requests found
...@@ -600,7 +600,7 @@ json key file or GCE default service account email. ...@@ -600,7 +600,7 @@ json key file or GCE default service account email.
Similar to the other auth tests, this test is only for cloud-to-prod path. Similar to the other auth tests, this test is only for cloud-to-prod path.
This test verifies unary calls succeed in sending messages using a JWT This test verifies unary calls succeed in sending messages using a JWT or a service account
credentials set on the RPC. credentials set on the RPC.
The test The test
...@@ -608,6 +608,10 @@ The test ...@@ -608,6 +608,10 @@ The test
downloaded from https://console.developers.google.com. Alternately, if using a downloaded from https://console.developers.google.com. Alternately, if using a
usable auth implementation, it may specify the file location in the environment usable auth implementation, it may specify the file location in the environment
variable GOOGLE_APPLICATION_CREDENTIALS variable GOOGLE_APPLICATION_CREDENTIALS
- optionally uses the flag `--oauth_scope` for the oauth scope if implementator
wishes to use service account credential instead of JWT credential. For testing
against grpc-test.sandbox.google.com, oauth scope
"https://www.googleapis.com/auth/xapi.zoo" should be used.
Server features: Server features:
* [UnaryCall][] * [UnaryCall][]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment