Skip to content

Commit b7c966a

Browse files
committed
make it warning
1 parent 445dce6 commit b7c966a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/user-guide.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ that supports OpenID Connect (OIDC).
2929
Obtaining credentials
3030
---------------------
3131

32-
Important: If you accept a credential configuration (credential JSON/File/Stream)
32+
.. warning:::Important: If you accept a credential configuration (credential JSON/File/Stream)
3333
from an external source for authentication to Google Cloud Platform, you must
3434
validate it before providing it to any Google API or client library. Providing an
3535
unvalidated credential configuration to Google APIs or libraries can compromise
36-
the security of your systems and data. For more information, refer to
36+
the security of your systems and data. For more information, refer to
3737
`Validate credential configurations from external sources`_.
3838

39-
.. _Validate credential configurations from external sources:
39+
.. _Validate credential configurations from external sources:
4040
https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
4141

4242
.. _application-default:

google/auth/_default.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ def load_credentials_from_file(
8585
user credentials, external account credentials, or impersonated service
8686
account credentials.
8787
88-
Important: If you accept a credential configuration (credential JSON/File/Stream)
88+
.. warning:::Important: If you accept a credential configuration (credential JSON/File/Stream)
8989
from an external source for authentication to Google Cloud Platform, you must
9090
validate it before providing it to any Google API or client library. Providing an
9191
unvalidated credential configuration to Google APIs or libraries can compromise
92-
the security of your systems and data. For more information, refer to
92+
the security of your systems and data. For more information, refer to
9393
`Validate credential configurations from external sources`_.
9494
95-
.. _Validate credential configurations from external sources:
95+
.. _Validate credential configurations from external sources:
9696
https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
9797
9898
Args:
@@ -147,14 +147,14 @@ def load_credentials_from_dict(
147147
user credentials, external account credentials, or impersonated service
148148
account credentials.
149149
150-
Important: If you accept a credential configuration (credential JSON/File/Stream)
150+
.. warning:::Important: If you accept a credential configuration (credential JSON/File/Stream)
151151
from an external source for authentication to Google Cloud Platform, you must
152152
validate it before providing it to any Google API or client library. Providing an
153153
unvalidated credential configuration to Google APIs or libraries can compromise
154-
the security of your systems and data. For more information, refer to
154+
the security of your systems and data. For more information, refer to
155155
`Validate credential configurations from external sources`_.
156156
157-
.. _Validate credential configurations from external sources:
157+
.. _Validate credential configurations from external sources:
158158
https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
159159
160160
Args:

0 commit comments

Comments
 (0)