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

Anonymous Authentication (Against a Local Endpoint) #449

Closed
paualarco opened this issue Jul 8, 2020 · 1 comment
Closed

Anonymous Authentication (Against a Local Endpoint) #449

paualarco opened this issue Jul 8, 2020 · 1 comment
Assignees
Labels
triage me I really want to be triaged.

Comments

@paualarco
Copy link

Hello!

I have been digging in how to connect from my java app to a local docker image containing a GCS emulator, there are some examples in Python that uses AnonymousCredentials and I would like to know if there is something similar to that in java.

This is the ticket where python free credentials was introduced: googleapis/google-auth-library-python#206

And that would be a code example: https://github.com/fsouza/fake-gcs-server/blob/main/examples/python/python.py

Sorry if the question is too generic,

@ewjmulder
Copy link

@paualarco (and future people who stumble upon this on Google):
You can use the NoCredentialsProvider and/or NoCredentials classes to signal not using any credentials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants