Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fca70b2

Browse filesBrowse files
qiwzhangJon Wayne Parrott
authored andcommitted
Update api_config_auth.yaml to not require api_key (GoogleCloudPlatform#725)
1 parent 3aa5e7f commit fca70b2
Copy full SHA for fca70b2

File tree

Expand file treeCollapse file tree

1 file changed

+14
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+14
-3
lines changed

‎endpoints/bookstore-grpc/api_config_auth.yaml

Copy file name to clipboardExpand all lines: endpoints/bookstore-grpc/api_config_auth.yaml
+14-3Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,23 @@ title: Bookstore gRPC API
3535
apis:
3636
- name: endpoints.examples.bookstore.Bookstore
3737

38+
#
39+
# API usage restrictions.
40+
#
41+
usage:
42+
rules:
43+
- selector: "*"
44+
allow_unregistered_calls: true
45+
46+
#
47+
# Request authentication.
48+
#
3849
authentication:
3950
providers:
4051
- id: google_service_account
41-
# Replace SERVICE-ACCOUNT-EMAIL with your service account's email address.
42-
issuer: SERVICE-ACCOUNT-EMAI
43-
jwks_uri: https://www.googleapis.com/robot/v1/metadata/x509/SERVICE-ACCOUNT-EMAI
52+
# Replace SERVICE-ACCOUNT-ID with your service account's email address.
53+
issuer: SERVICE-ACCOUNT-ID
54+
jwks_uri: https://www.googleapis.com/robot/v1/metadata/x509/SERVICE-ACCOUNT-ID
4455
rules:
4556
# This auth rule will apply to all methods.
4657
- selector: "*"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.