-
Notifications
You must be signed in to change notification settings - Fork 135
docs: add warning for encoded credential #4182
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
Conversation
This reverts commit b28885f.
…com/googleapis/java-spanner into indicate-unsafe-encoded-credentials
| "The location of the credentials file to use for this connection. If neither this" | ||
| + " property or encoded credentials are set, the connection will use the default" | ||
| + " Google Cloud credentials for the runtime environment.", | ||
| DEFAULT_CREDENTIALS, | ||
| StringValueConverter.INSTANCE, | ||
| Context.STARTUP); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also need it here. This property eventually calls:
Line 115 in 2967a12
| private GoogleCredentials getCredentialsFromLocalFile(String filePath) throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, thanks. I added a similar comment here.
|
LGTM, but Knut or Spanner team for final approval |
…com/googleapis/java-spanner into indicate-unsafe-encoded-credentials
See b/437991832 for more context.