google-cloud-secret_manager-v1beta2 0.5.0 → 0.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: 51cf3ef2593f47151ffcdb1a931404b18f06003586cf7b4f92e1e0523d237471
|
|
4
|
+
data.tar.gz: c884b80f334759d9fd0c2f624bf0a2f0df2c247d27f40ebdcbb562333d305c03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 664b3dbb6a37e97256b03dffe357a4ce7727c7d40d58b4fe64a921060570e28ac114363c0e57f789f8b4d54d1c1dd54c0c1f69952513f17ef6fbc76b947157ff
|
|
7
|
+
data.tar.gz: 9b4764646a7905f596021cf352e061ca339357bdb31e829329b0b0604be8472f6d9430a5cd6ea019ae732cb8e8fb686202650001496ceed918251e8ef0a13723
|
|
@@ -1727,8 +1727,6 @@ module Google
|
|
|
1727
1727
|
# @return [::String,nil]
|
|
1728
1728
|
# @!attribute [rw] credentials
|
|
1729
1729
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1730
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1731
|
-
# * (`Hash`) A service account key as a Hash
|
|
1732
1730
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1733
1731
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1734
1732
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1737,7 +1735,26 @@ module Google
|
|
|
1737
1735
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1738
1736
|
# * (`nil`) indicating no credentials
|
|
1739
1737
|
#
|
|
1740
|
-
# Warning:
|
|
1738
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1739
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1740
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1741
|
+
#
|
|
1742
|
+
# @example
|
|
1743
|
+
#
|
|
1744
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1745
|
+
# # on the appropriate credentials class for your environment.
|
|
1746
|
+
#
|
|
1747
|
+
# require "googleauth"
|
|
1748
|
+
#
|
|
1749
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1750
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1751
|
+
# )
|
|
1752
|
+
#
|
|
1753
|
+
# client = ::Google::Cloud::SecretManager::V1beta2::SecretManagerService::Client.new do |config|
|
|
1754
|
+
# config.credentials = credentials
|
|
1755
|
+
# end
|
|
1756
|
+
#
|
|
1757
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1741
1758
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1742
1759
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1743
1760
|
# configuration to Google APIs can compromise the security of your systems and data.
|