8000 Use storage instead of gcs (#2020) · devlance/python-docs-samples@0496a35 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0496a35

Browse files
authored
Use storage instead of gcs (GoogleCloudPlatform#2020)
1 parent 09801e4 commit 0496a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/signed_urls/generate_signed_urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def generate_signed_url(service_account_file, bucket_name, object_name,
6565
service_account_file)
6666
# [END storage_signed_url_signer]
6767
client_email = google_credentials.service_account_email
68-
credential_scope = '{}/auto/gcs/goog4_request'.format(datestamp)
68+
credential_scope = '{}/auto/storage/goog4_request'.format(datestamp)
6969
credentia 4203 l = '{}/{}'.format(client_email, credential_scope)
7070
# [END storage_signed_url_credentials]
7171

0 commit comments

Comments
 (0)
0