We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efae0ef commit c4bea88Copy full SHA for c4bea88
gcloud/credentials.py
@@ -34,5 +34,5 @@ def get_for_service_account(client_email, private_key_path, scope=None):
34
"""
35
return client.SignedJwtAssertionCredentials(
36
service_account_name=client_email,
37
- private_key=open(private_key_path).read(),
+ private_key=open(private_key_path, 'rb').read(),
38
scope=scope)
0 commit comments