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: 1f7182c7f8fb93fb2328a2f206e8df2d158f0e9ccf6f785b4b02e9ee1d3e88ba
4
- data.tar.gz: 0fbdd3f7e6a820e1242dd305f0f52a9eb0c876cc34a3da3ce0a0f7128bdc49f8
3
+ metadata.gz: 51cf3ef2593f47151ffcdb1a931404b18f06003586cf7b4f92e1e0523d237471
4
+ data.tar.gz: c884b80f334759d9fd0c2f624bf0a2f0df2c247d27f40ebdcbb562333d305c03
5
5
  SHA512:
6
- metadata.gz: e21da105d8a9de370394c569deca528161bd3aa992c7a7d7ec8b5bad4c9adb1756ff9d150ac3f9ff0dc9fa4e28964bef9e2a2104428a20e8f411ef47c5dd11b1
7
- data.tar.gz: 936b50d1da998fa40d881d978b9c064896b2ed7adfe7a4b79a20c1a2dbfd0aa12f45b35afb02af1fcafd474754b0b9eeff1d431a68157597a3d948bbae6a3de6
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta2
24
- VERSION = "0.5.0"
24
+ VERSION = "0.5.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-secret_manager-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC