We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default_async
default_async returns non-async credentials for GCE and GAE
google-auth
Run the following code from GCE or Colab
from google.auth import _default_async print(_default_async.default_async()[0])
The resulting credentials are non-async
<google.auth.compute_engine.credentials.Credentials at 0x7e24d031ebc0>
The issue does not occur when running outside GCE.
It's easy to see that for GCE default_async just calls the method from default: https://github.com/googleapis/google-auth-library-python/blob/bfab59288fb5e4a9d86f5fff55307a72a0b86e47/google/auth/_default_async.py#L162..L172
default
The text was updated successfully, but these errors were encountered:
No branches or pull requests
default_async
returns non-async credentials for GCE and GAEEnvironment details
google-auth
version:Steps to reproduce
Run the following code from GCE or Colab
The resulting credentials are non-async
The issue does not occur when running outside GCE.
It's easy to see that for GCE
default_async
just calls the method fromdefault
: https://github.com/googleapis/google-auth-library-python/blob/bfab59288fb5e4a9d86f5fff55307a72a0b86e47/google/auth/_default_async.py#L162..L172The text was updated successfully, but these errors were encountered: