google-cloud-secret_manager-v1 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13d3f3d9f56f1c359ea09de171851fb440b3356e0db0a2c95867c54d5a7fa372
|
|
4
|
+
data.tar.gz: 522fef3b210700b30d414527955c731199a2e5f44261605b8e769ee1f1921cc7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c41b5379d65bf46a146bd4327eede82356f563321a4897d4707126c691e09957e90339b50351d6c13f65b44ee8d86938b8c297626ae114a1bd03563d0cb112ff
|
|
7
|
+
data.tar.gz: 21bf44ce9058a94f2cd1a5e1d31ec21407a8c0f36d1910c180e7d33362b439c8baca0e0454fba8eaf9e93b7dbd43c8e7850e37f813f44de8e37e1b4e4388ea1b
|
|
@@ -1720,8 +1720,6 @@ module Google
|
|
|
1720
1720
|
# @return [::String,nil]
|
|
1721
1721
|
# @!attribute [rw] credentials
|
|
1722
1722
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1723
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1724
|
-
# * (`Hash`) A service account key as a Hash
|
|
1725
1723
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1726
1724
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1727
1725
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1730,7 +1728,26 @@ module Google
|
|
|
1730
1728
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1731
1729
|
# * (`nil`) indicating no credentials
|
|
1732
1730
|
#
|
|
1733
|
-
# Warning:
|
|
1731
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1732
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1733
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1734
|
+
#
|
|
1735
|
+
# @example
|
|
1736
|
+
#
|
|
1737
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1738
|
+
# # on the appropriate credentials class for your environment.
|
|
1739
|
+
#
|
|
1740
|
+
# require "googleauth"
|
|
1741
|
+
#
|
|
1742
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1743
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1744
|
+
# )
|
|
1745
|
+
#
|
|
1746
|
+
# client = ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.new do |config|
|
|
1747
|
+
# config.credentials = credentials
|
|
1748
|
+
# end
|
|
1749
|
+
#
|
|
1750
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1734
1751
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1735
1752
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1736
1753
|
# configuration to Google APIs can compromise the security of your systems and data.
|