@@ -85,15 +85,16 @@ def load_credentials_from_file(
8585 user credentials, external account credentials, or impersonated service
8686 account credentials.
8787
88- .. warning:::Important: If you accept a credential configuration (credential JSON/File/Stream)
89- from an external source for authentication to Google Cloud Platform, you must
90- validate it before providing it to any Google API or client library. Providing an
91- unvalidated credential configuration to Google APIs or libraries can compromise
92- the security of your systems and data. For more information, refer to
93- `Validate credential configurations from external sources`_.
88+ .. warning::
89+ Important: If you accept a credential configuration (credential JSON/File/Stream)
90+ from an external source for authentication to Google Cloud Platform, you must
91+ validate it before providing it to any Google API or client library. Providing an
92+ unvalidated credential configuration to Google APIs or libraries can compromise
93+ the security of your systems and data. For more information, refer to
94+ `Validate credential configurations from external sources`_.
9495
95- .. _Validate credential configurations from external sources:
96- https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
96+ .. _Validate credential configurations from external sources:
97+ https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
9798
9899 Args:
99100 filename (str): The full path to the credentials file.
@@ -147,12 +148,13 @@ def load_credentials_from_dict(
147148 user credentials, external account credentials, or impersonated service
148149 account credentials.
149150
150- .. warning:::Important: If you accept a credential configuration (credential JSON/File/Stream)
151- from an external source for authentication to Google Cloud Platform, you must
152- validate it before providing it to any Google API or client library. Providing an
153- unvalidated credential configuration to Google APIs or libraries can compromise
154- the security of your systems and data. For more information, refer to
155- `Validate credential configurations from external sources`_.
151+ .. warning::
152+ Important: If you accept a credential configuration (credential JSON/File/Stream)
153+ from an external source for authentication to Google Cloud Platform, you must
154+ validate it before providing it to any Google API or client library. Providing an
155+ unvalidated credential configuration to Google APIs or libraries can compromise
156+ the security of your systems and data. For more information, refer to
157+ `Validate credential configurations from external sources`_.
156158
157159 .. _Validate credential configurations from external sources:
158160 https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
0 commit comments