Thursday, February 16, 2017

[google-cloud-sql-discuss] Re: The Application Default Credentials are not available. They are available if running on Google App Engine, Google Compute Engine, or Google Cloud Shell. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing

Hi Charlie,


This appears to be a request for 1-on-1 assistance with a technical issue specific to your development. This isn't the right forum to look for help on such a question, which is perfectly suited to stackoverflow.com. This forum, on the other hand, is meant for more general high-level discussion of the platform and services, design patterns, etc.


As for how to assist with the issue itself, you may want to have a look on How the Application Default Credentials work documentation. As indicated, in case the environment variable GOOGLE_APPLICATION_CREDENTIALS is checked and specified, it should point to a file that defines the default credentials. Moreover this documentation provides a guide on how to get this credentials file.


Alternatively, you may solve your error by installing and logging into the Cloud SDK as indicated in the second point of this same section.


In case you are still running into issues, can you reply with the exact command you are running when getting this error?

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/94e004df-dcc9-4d07-97c4-794007c33b84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment