Skip to content

Commit

Permalink
make it warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sai-sunder-s committed Jan 16, 2025
1 parent 445dce6 commit b7c966a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/user-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ that supports OpenID Connect (OIDC).
Obtaining credentials
---------------------

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

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

.. _application-default:
Expand Down
12 changes: 6 additions & 6 deletions google/auth/_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ def load_credentials_from_file(
user credentials, external account credentials, or impersonated service
account credentials.
Important: If you accept a credential configuration (credential JSON/File/Stream)
.. warning:::Important: If you accept a credential configuration (credential JSON/File/Stream)
from an external source for authentication to Google Cloud Platform, you must
validate it before providing it to any Google API or client library. Providing an
unvalidated credential configuration to Google APIs or libraries can compromise
the security of your systems and data. For more information, refer to
the security of your systems and data. For more information, refer to
`Validate credential configurations from external sources`_.
.. _Validate credential configurations from external sources:
.. _Validate credential configurations from external sources:
https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
Args:
Expand Down Expand Up @@ -147,14 +147,14 @@ def load_credentials_from_dict(
user credentials, external account credentials, or impersonated service
account credentials.
Important: If you accept a credential configuration (credential JSON/File/Stream)
.. warning:::Important: If you accept a credential configuration (credential JSON/File/Stream)
from an external source for authentication to Google Cloud Platform, you must
validate it before providing it to any Google API or client library. Providing an
unvalidated credential configuration to Google APIs or libraries can compromise
the security of your systems and data. For more information, refer to
the security of your systems and data. For more information, refer to
`Validate credential configurations from external sources`_.
.. _Validate credential configurations from external sources:
.. _Validate credential configurations from external sources:
https://cloud.google.com/docs/authentication/external/externally-sourced-credentials
Args:
Expand Down

0 comments on commit b7c966a

Please sign in to comment.