File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,14 @@ public class ConnectionOptions {
229229 /** Name of the 'encodedCredentials' connection property. */
230230 public static final String ENCODED_CREDENTIALS_PROPERTY_NAME = "encodedCredentials" ;
231231
232+ /** System property used to enable encoded credentials.
233+ * WARNING: Enabling this property without proper validation can
234+ * expose the application to security risks.
235+ * It is intended for use with credentials from a trusted source only,
236+ * as it could otherwise allow end-users to supply arbitrary credentials.
237+ * For more information, see
238+ * https://cloud.google.com/docs/authentication/client-libraries#external-credentials
239+ */
232240 public static final String ENABLE_ENCODED_CREDENTIALS_SYSTEM_PROPERTY =
233241 "ENABLE_ENCODED_CREDENTIALS" ;
234242
You can’t perform that action at this time.
0 commit comments