Skip to content
New issue

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

chore: Add anonymous credentials json file #1576

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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/

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