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: daab4c55a76b99b5c458ef11559cd7cf081cf9224aee1eb8cfb4093709a8026b
4
- data.tar.gz: 8b35fc647f9746af774a9dd686e7f3070c3db50af50cf3c1ab7c326b81cd8418
3
+ metadata.gz: 13d3f3d9f56f1c359ea09de171851fb440b3356e0db0a2c95867c54d5a7fa372
4
+ data.tar.gz: 522fef3b210700b30d414527955c731199a2e5f44261605b8e769ee1f1921cc7
5
5
  SHA512:
6
- metadata.gz: ff090eb2d955f885db9b0cafd615ff9762adc9864d9c46360e8b256d5d1b0e17a18d51aefa8f61762a117975d4df7620d3dc933e0cf2e999e8a148c1c61b0cb8
7
- data.tar.gz: 294c6b54e124821bedc8e8ed54361cbf4f38310869abbdab3fc538589852fa12331e0ba017828a08b7a1e26eb913e37488336b28e1ef860e84f2aa3c544f8409
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "1.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC