Skip to content

auth-5.6.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 21:36
· 7 commits to master since this release
bb46abc
  • Token.get_project() now caches the project it resolves on the token instance. With GCE-metadata credentials it used to query the metadata server on every call; now only the first call does, and later calls reuse the result. Service-account credentials store their project_id the same way. The environment-variable overrides are still checked first on every call, so they keep taking precedence. No API changes.
  • perf(auth): cache Token.get_project()'s resolved project (#1126)