Skip to content

Commit 14ff1f5

Browse files
SeanBEtseaver
authored andcommitted
Update doc reference for setting up a service account (#3578)
1 parent 2a4511c commit 14ff1f5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/google/cloud/credentials.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def _get_signed_query_params(credentials, expiration, string_to_sign):
6161
"""
6262
if not isinstance(credentials, google.auth.credentials.Signing):
6363
auth_uri = ('http://google-cloud-python.readthedocs.io/en/latest/'
64-
'google-cloud-auth.html#setting-up-a-service-account')
64+
'core/auth.html?highlight=authentication#setting-up-'
65+
'a-service-account')
6566
raise AttributeError('you need a private key to sign credentials.'
6667
'the credentials you are currently using %s '
6768
'just contains a token. see %s for more '

storage/google/cloud/storage/bucket.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,8 @@ def generate_upload_policy(
10161016

10171017
if not isinstance(credentials, google.auth.credentials.Signing):
10181018
auth_uri = ('http://google-cloud-python.readthedocs.io/en/latest/'
1019-
'google-cloud-auth.html#setting-up-a-service-account')
1019+
'core/auth.html?highlight=authentication#setting-up-'
1020+
'a-service-account')
10201021
raise AttributeError(
10211022
'you need a private key to sign credentials.'
10221023
'the credentials you are currently using %s '

0 commit comments

Comments
 (0)