commit | e9ca25fa39a112cc1a376388ab47a4e1b3ea746c | [log] [tgz] |
---|---|---|
author | Aarni Koskela <akx@iki.fi> | Tue May 18 18:08:05 2021 +0300 |
committer | GitHub <noreply@github.com> | Tue May 18 15:08:05 2021 +0000 |
tree | 3e022a7dba599bedd8dde9ba42a469c6313a56a1 | |
parent | b2c179ee9ff475c379b332469d4b7e81801bc139 [diff] [blame] |
fix: fix function name in signing error message (#751) The name of the API is `signBlob`, not `signBytes`. See https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/signBlob
diff --git a/google/auth/iam.py b/google/auth/iam.py index 5e88a04..5d63dc5 100644 --- a/google/auth/iam.py +++ b/google/auth/iam.py
@@ -79,7 +79,7 @@ if response.status != http_client.OK: raise exceptions.TransportError( - "Error calling the IAM signBytes API: {}".format(response.data) + "Error calling the IAM signBlob API: {}".format(response.data) ) return json.loads(response.data.decode("utf-8"))