Skip to content

Conversation

@dhpollack
Copy link

This allows one to use a credentials json file to create anonymous credentials.

https://googleapis.dev/python/google-auth/latest/_modules/google/auth/credentials.html#AnonymousCredentials

As the docs for AnonymousCredentials themselves states, this only useful for anonymous services and emulators. But it would mean that one could include a credentials file in a project that used an emulator and authenticate in the exact same way as with real credentials. Otherwise one needs to add application logic to allow for anonymous credentials and real credentials.

@dhpollack dhpollack requested review from a team as code owners August 9, 2024 13:20
@conventional-commit-lint-gcf
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@dhpollack
Copy link
Author

stale

@dhpollack dhpollack closed this Oct 21, 2025
@dhpollack dhpollack deleted the feature/anonymous-json branch October 21, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant