google-cloud-kms-inventory-v1 0.15.1 → 0.16.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: 3ae43b304d12c514990497a73b115ba04318956182d5288e7bb36dd33afd5407
4
- data.tar.gz: 52a3128b310a9ed34941afedf6d7547e34e30f38abc965183e00d6f140b4a6e2
3
+ metadata.gz: c4f53f1fb45617016a43bd79a9e46244bab88bcd3759374a87a4fac2687cafc3
4
+ data.tar.gz: 928130f6a8adc01ef4582eaca124db86193131794217a4cf3f98e3f82b37aff4
5
5
  SHA512:
6
- metadata.gz: '09dbf600a73e8e83f392a52cef0e546cb688a1928c2ca22118110f35e049aadcb81cbd9cb1e383c54c4bfa21187108f27432584d6553baf954a3fa0db8abbda2'
7
- data.tar.gz: 3c54d038b21986f86b7159bb0632e2d83e4436682fc89f78f13bdcf35b080851e867f16d32e3f511197dfb104c92f07ba8ae1388488fe44bb8e3c1b1d11ba652
6
+ metadata.gz: 9383e0daa7addd264aae025a6cb87160ac20e9be6e05e00124c7fb9e34e64d5e6d599a2af2076d618938849752757362c700734389d83923aa9e2dac7b95433b
7
+ data.tar.gz: aebe40af53a5c45fefe3455056d188c2892e1a063420162a837409e156785a74762d8bcbe851eca267b6552971f2601a48cf156078382ae307f535fd2e160b40
@@ -322,8 +322,6 @@ module Google
322
322
  # @return [::String,nil]
323
323
  # @!attribute [rw] credentials
324
324
  # Credentials to send with calls. You may provide any of the following types:
325
- # * (`String`) The path to a service account key file in JSON format
326
- # * (`Hash`) A service account key as a Hash
327
325
  # * (`Google::Auth::Credentials`) A googleauth credentials object
328
326
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
329
327
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -332,7 +330,26 @@ module Google
332
330
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
333
331
  # * (`nil`) indicating no credentials
334
332
  #
335
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
333
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
334
+ # is deprecated. Providing an unvalidated credential configuration to
335
+ # Google APIs can compromise the security of your systems and data.
336
+ #
337
+ # @example
338
+ #
339
+ # # The recommended way to provide credentials is to use the `make_creds` method
340
+ # # on the appropriate credentials class for your environment.
341
+ #
342
+ # require "googleauth"
343
+ #
344
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
345
+ # json_key_io: ::File.open("/path/to/keyfile.json")
346
+ # )
347
+ #
348
+ # client = ::Google::Cloud::Kms::Inventory::V1::KeyDashboardService::Client.new do |config|
349
+ # config.credentials = credentials
350
+ # end
351
+ #
352
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
336
353
  # external source for authentication to Google Cloud, you must validate it before
337
354
  # providing it to a Google API client library. Providing an unvalidated credential
338
355
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -438,8 +438,6 @@ module Google
438
438
  # @return [::String,nil]
439
439
  # @!attribute [rw] credentials
440
440
  # Credentials to send with calls. You may provide any of the following types:
441
- # * (`String`) The path to a service account key file in JSON format
442
- # * (`Hash`) A service account key as a Hash
443
441
  # * (`Google::Auth::Credentials`) A googleauth credentials object
444
442
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
445
443
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -448,7 +446,26 @@ module Google
448
446
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
449
447
  # * (`nil`) indicating no credentials
450
448
  #
451
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
449
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
450
+ # is deprecated. Providing an unvalidated credential configuration to
451
+ # Google APIs can compromise the security of your systems and data.
452
+ #
453
+ # @example
454
+ #
455
+ # # The recommended way to provide credentials is to use the `make_creds` method
456
+ # # on the appropriate credentials class for your environment.
457
+ #
458
+ # require "googleauth"
459
+ #
460
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
461
+ # json_key_io: ::File.open("/path/to/keyfile.json")
462
+ # )
463
+ #
464
+ # client = ::Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Client.new do |config|
465
+ # config.credentials = credentials
466
+ # end
467
+ #
468
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
452
469
  # external source for authentication to Google Cloud, you must validate it before
453
470
  # providing it to a Google API client library. Providing an unvalidated credential
454
471
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Kms
23
23
  module Inventory
24
24
  module V1
25
- VERSION = "0.15.1"
25
+ VERSION = "0.16.1"
26
26
  end
27
27
  end
28
28
  end
@@ -198,6 +198,12 @@ module Google
198
198
  # {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with this purpose may be used
199
199
  # with [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
200
200
  MAC = 9
201
+
202
+ # {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with this purpose may be used
203
+ # with
204
+ # [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
205
+ # and [Decapsulate][google.cloud.kms.v1.KeyManagementService.Decapsulate].
206
+ KEY_ENCAPSULATION = 10
201
207
  end
202
208
  end
203
209
 
@@ -549,6 +555,16 @@ module Google
549
555
  # Algorithm representing symmetric encryption by an external key manager.
550
556
  EXTERNAL_SYMMETRIC_ENCRYPTION = 18
551
557
 
558
+ # ML-KEM-768 (FIPS 203)
559
+ ML_KEM_768 = 47
560
+
561
+ # ML-KEM-1024 (FIPS 203)
562
+ ML_KEM_1024 = 48
563
+
564
+ # X-Wing hybrid KEM combining ML-KEM-768 with X25519 following
565
+ # datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/.
566
+ KEM_XWING = 63
567
+
552
568
  # The post-quantum Module-Lattice-Based Digital Signature Algorithm, at
553
569
  # security level 3. Randomized version.
554
570
  PQ_SIGN_ML_DSA_65 = 56
@@ -751,10 +767,18 @@ module Google
751
767
  # (https://tools.ietf.org/html/rfc7468#section-13) for more information.
752
768
  PEM = 1
753
769
 
770
+ # The returned public key will be encoded in DER format (the
771
+ # PrivateKeyInfo structure from RFC 5208).
772
+ DER = 2
773
+
754
774
  # This is supported only for PQC algorithms.
755
775
  # The key material is returned in the format defined by NIST PQC
756
776
  # standards (FIPS 203, FIPS 204, and FIPS 205).
757
777
  NIST_PQC = 3
778
+
779
+ # The returned public key is in raw bytes format defined in its standard
780
+ # https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem.
781
+ XWING_RAW_BYTES = 4
758
782
  end
759
783
  end
760
784
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms-inventory-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.6.8
124
+ rubygems_version: 3.6.9
125
125
  specification_version: 4
126
126
  summary: API Client library for the KMS Inventory V1 API
127
127
  test_files: []