Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit a7c8b65

Browse files
committed
Merge branch 'indicate-unsafe-encoded-credentials' of https://github.com/googleapis/java-spanner into indicate-unsafe-encoded-credentials
2 parents 30aeb8d + 4c82899 commit a7c8b65

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/ConnectionProperties.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,10 @@ public class ConnectionProperties {
276276
ENCODED_CREDENTIALS_PROPERTY_NAME,
277277
"Base64-encoded credentials to use for this connection. If neither this property or a"
278278
+ " credentials location are set, the connection will use the default Google Cloud"
279-
+ " credentials for the runtime environment."
280-
+ " WARNING: Enabling this property without proper validation can"
281-
+ " expose the application to security risks."
282-
+ " It is intended for use with credentials from a trusted source only,"
283-
+ " as it could otherwise allow end-users to supply arbitrary credentials."
284-
+ " For more information, see"
279+
+ " credentials for the runtime environment. WARNING: Enabling this property without"
280+
+ " proper validation can expose the application to security risks. It is intended"
281+
+ " for use with credentials from a trusted source only, as it could otherwise allow"
282+
+ " end-users to supply arbitrary credentials. For more information, see"
285283
+ "https://cloud.google.com/docs/authentication/client-libraries#external-credentials",
286284
null,
287285
StringValueConverter.INSTANCE,

0 commit comments

Comments
 (0)