Skip to content

Commit e7dd5f4

Browse files
committed
docs: Add warning note about user provided credential configurations.
Towards b/389125232
1 parent d98513f commit e7dd5f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/devsite-help/client-configuration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ and `Google.Cloud.Translation.V2` libraries support builders as well, but with f
2323

2424
## Specifying credentials
2525

26+
**Important**: If you accept a credential configuration (credential JSON/File/Stream) from an external source
27+
for authentication to Google Cloud, you must validate it before providing it to any Google API or library.
28+
Providing an unvalidated credential configuration to Google APIs can compromise the security of your systems and data.
29+
For more information, refer to
30+
[Validate credential configurations from external sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
31+
2632
The following properties are used for specifying and configuring which credentials a client
2733
uses to authenticate and authorize requests. When no properties are set,
2834
[application default credentials](https://cloud.google.com/docs/authentication/production#automatically) are used.

0 commit comments

Comments
 (0)