-
Notifications
You must be signed in to change notification settings - Fork 592
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
API key authentication doesn't work for Cloud Natural Language #2498
Comments
And it looks like API key auth doesn't work for other packages as well, see: #1424 |
This is something that just got a decent bit of discussion internally on the Python side, where we did have support and actively removed it. Essentially, API keys are a discouraged form of authentication at this point, and we do not intend to support them in client libraries. |
@lukesneeringer thanks for the answer; that'd be super helpful to add a clear note that API key auth is not supported in the documentation then. |
Environment details
Ubuntu
8.1.4
5.0.3
"@google-cloud/language": "^0.11.0"
Steps to reproduce
It throws:
It works with
credentials
object and with config json file, but it fails with API key.Please advise or fix.
The text was updated successfully, but these errors were encountered: