Skip to content

Commit fca70b2

Browse files
qiwzhangJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Update api_config_auth.yaml to not require api_key (GoogleCloudPlatform#725)
1 parent 3aa5e7f commit fca70b2

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

endpoints/bookstore-grpc/api_config_auth.yaml

+14-3
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)