GithubHelp home page GithubHelp logo

Comments (5)

chingor13 avatar chingor13 commented on June 19, 2024 1

Yes, to configure ApplicationDefaultCredentials locally or in a non-GCP environment you will want to set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path to your credentials file (downloadable from the Google Cloud Console).

More information is available at the link in the error message: https://cloud.google.com/docs/authentication/production

from google-auth-library-java.

DIWithers avatar DIWithers commented on June 19, 2024

I used C# / Visual Studio for mine but had the same error. Did you download the credentials as per the docs and set your local environment variable (GOOGLE_APPLICATION_CREDENTIALS) with the path to the file?

from google-auth-library-java.

99ansh avatar 99ansh commented on June 19, 2024

I have tried all these, still getting the same error. PLEASE HELP!

from google-auth-library-java.

ggprod avatar ggprod commented on June 19, 2024

@Ansh-Mehta I just came across this issue while searching for a way to get Java with SecurityManager to be disabled or to work with the Google Application Default Credentials (for ElasticSearch, related to this: https://www.elastic.co/guide/en/elasticsearch/plugins/7.10/repository-gcs-usage.html#repository-gcs-service-authentication). Perhaps you were running into the same issue (Java SecurityManager interfering with Google Application Default Credentials)?

from google-auth-library-java.

99ansh avatar 99ansh commented on June 19, 2024

@Ansh-Mehta I just came across this issue while searching for a way to get Java with SecurityManager to be disabled or to work with the Google Application Default Credentials (for ElasticSearch, related to this: https://www.elastic.co/guide/en/elasticsearch/plugins/7.10/repository-gcs-usage.html#repository-gcs-service-authentication). Perhaps you were running into the same issue (Java SecurityManager interfering with Google Application Default Credentials)?

I don't remember at all 😅, long time!

from google-auth-library-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.