google-cloud-kms-inventory-v1 0.21.0 → 0.23.0

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: c7d340468d9d81eff73839b072c6e72b7a06caf2622001646897ab2754786fd4
4
- data.tar.gz: 0727a382cef447f97527cb4b8453347dd05f42f919c7ae95cd3744ee51ea4734
3
+ metadata.gz: a58babb840f453d00c1f034bb2acdf71e0b28f5ecc20fcdf79c08cd7d015f855
4
+ data.tar.gz: 100f2d9b901dd62a0c0ed8701f0c60b7ff429371ab9e8fc272fccd52a47c9ebf
5
5
  SHA512:
6
- metadata.gz: 169801a1e8ee84cb6376c3095d3fd44447c1ffd790cf2c77bf37d95f80dbd04e09db24179aa318927ab622e02fac2af0780bb98d8115f4d876d07bb4718c39c3
7
- data.tar.gz: d1ab0e469c344126c4dc9ac32539ff0075006c7dc46496b493f5f7f688e2fd00c7b71b5c152be4228fe0349c8d4db158b330af115abe19106d2fb1c35b4d6cc3
6
+ metadata.gz: c8627408b9e2ac5794bbe2867bba41145e4a6c596d1e5aa9f1c0f4a6d282c069e74bfba72f4f9deb4f35880fb713ab93fccff9cf7d8a82f0202374d7e3f89f12
7
+ data.tar.gz: 9e70da234a6f2d683d0d0db95bcae01cc7b46731779dc2c77f06c8d0368697270ad0cdcb8e5f03d5ac455fcb18b587beb7cde9aff87f1a61140818919ccf48a4
@@ -22,7 +22,7 @@ module Google
22
22
  module Kms
23
23
  module Inventory
24
24
  module V1
25
- VERSION = "0.21.0"
25
+ VERSION = "0.23.0"
26
26
  end
27
27
  end
28
28
  end
@@ -213,6 +213,10 @@ module Google
213
213
  # [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
214
214
  # and [Decapsulate][google.cloud.kms.v1.KeyManagementService.Decapsulate].
215
215
  KEY_ENCAPSULATION = 10
216
+
217
+ # {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with this purpose may be used
218
+ # for AES key
219
+ AES_WRAPPING = 11
216
220
  end
217
221
  end
218
222
 
@@ -397,6 +401,24 @@ module Google
397
401
  # Output only. Whether or not this key version is eligible for reimport, by
398
402
  # being specified as a target in
399
403
  # [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version].
404
+ # @!attribute [rw] trusted_wrapping_enabled
405
+ # @return [::Boolean]
406
+ # Immutable. Field indicating that the key may be wrapped by a trusted key.
407
+ # This field can be set for all key purposes except
408
+ # {::Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose::ENCRYPT_DECRYPT ENCRYPT_DECRYPT},
409
+ # and is only valid for keys with protection level
410
+ # {::Google::Cloud::Kms::V1::ProtectionLevel::HSM_SINGLE_TENANT HSM_SINGLE_TENANT}.
411
+ # This field can only be set at creation or import time via
412
+ # [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion],
413
+ # or
414
+ # [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
415
+ # @!attribute [r] hsm_trusted
416
+ # @return [::Boolean]
417
+ # Output only. Field indicating that the key wrapping key is trusted.
418
+ # This field is only valid for key purpose
419
+ # [AES_256_WRAPPING][CryptoKey.CryptoKeyPurpose.AES_256_WRAPPING], and
420
+ # protection level
421
+ # {::Google::Cloud::Kms::V1::ProtectionLevel::HSM_SINGLE_TENANT HSM_SINGLE_TENANT}.
400
422
  class CryptoKeyVersion
401
423
  include ::Google::Protobuf::MessageExts
402
424
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -608,6 +630,10 @@ module Google
608
630
  # security level 5. Randomized version supporting externally-computed
609
631
  # message representatives.
610
632
  PQ_SIGN_ML_DSA_87_EXTERNAL_MU = 71
633
+
634
+ # AES key wrap with zero padding algorithm (RFC 5649). Can only be used
635
+ # by keys with purpose AES_WRAPPING.
636
+ AES_256_KWP = 73
611
637
  end
612
638
 
613
639
  # The state of a {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion},
@@ -895,6 +921,13 @@ module Google
895
921
  # Output only. The public key with which to wrap key material prior to
896
922
  # import. Only returned if {::Google::Cloud::Kms::V1::ImportJob#state state} is
897
923
  # {::Google::Cloud::Kms::V1::ImportJob::ImportJobState::ACTIVE ACTIVE}.
924
+ # @!attribute [r] public_key_format
925
+ # @return [::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat]
926
+ # Output only. Specifies the
927
+ # {::Google::Cloud::Kms::V1::ImportJob::WrappingPublicKey WrappingPublicKey} format
928
+ # provided by the customer in the
929
+ # [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]
930
+ # request.
898
931
  # @!attribute [r] attestation
899
932
  # @return [::Google::Cloud::Kms::V1::KeyOperationAttestation]
900
933
  # Output only. Statement that was generated and signed by the key creator
@@ -926,6 +959,19 @@ module Google
926
959
  # Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
927
960
  # [Textual Encoding of Subject Public Key Info]
928
961
  # (https://tools.ietf.org/html/rfc7468#section-13).
962
+ # This field gets populated by default for RSA-based import methods, if no
963
+ # public_key_format is specified in the request.
964
+ # If you want to retrieve the wrapping key of an
965
+ # {::Google::Cloud::Kms::V1::ImportJob ImportJob} in some other format, use
966
+ # [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]
967
+ # and set the public_key_format to the desired public key format.
968
+ # @!attribute [r] data
969
+ # @return [::String]
970
+ # Output only. Contains the public key, formatted according to the
971
+ # {::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat PublicKey.PublicKeyFormat}
972
+ # specified in the
973
+ # [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]
974
+ # request.
929
975
  class WrappingPublicKey
930
976
  include ::Google::Protobuf::MessageExts
931
977
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -981,6 +1027,33 @@ module Google
981
1027
  # to technical limitations of RSA wrapping, this method cannot be used to
982
1028
  # wrap RSA keys for import.
983
1029
  RSA_OAEP_4096_SHA256 = 6
1030
+
1031
+ # Represents the Hybrid Public Key Encryption (HPKE) Scheme originally
1032
+ # defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It
1033
+ # involves wrapping the raw key with an ephemeral AES key, derived with
1034
+ # HKDF-SHA256 from an encryption context, that is, in turn obtained from
1035
+ # the receiver’s public key with the help of the ML-KEM-768 KEM. For more
1036
+ # details, see the [ML-KEM HPKE
1037
+ # standard](http://datatracker.ietf.org/doc/draft-ietf-hpke-pq/01/).
1038
+ HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM = 8
1039
+
1040
+ # Represents the Hybrid Public Key Encryption (HPKE) Scheme originally
1041
+ # defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It
1042
+ # involves wrapping the raw key with an ephemeral AES key, derived with
1043
+ # HKDF-SHA256 from an encryption context, that is, in turn obtained from
1044
+ # the receiver’s public key with the help of the ML-KEM-1024 KEM. For more
1045
+ # details, see the [ML-KEM HPKE
1046
+ # standard](http://datatracker.ietf.org/doc/draft-ietf-hpke-pq/01/).
1047
+ HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM = 9
1048
+
1049
+ # Represents the Hybrid Public Key Encryption (HPKE) Scheme originally
1050
+ # defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It
1051
+ # involves wrapping the raw key with an ephemeral AES key, derived with
1052
+ # HKDF-SHA256 from an encryption context, that is, in turn obtained from
1053
+ # the receiver’s public key with the help of the X-Wing hybrid KEM. For
1054
+ # more details, see the [X-Wing
1055
+ # standard](http://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/09/).
1056
+ HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM = 10
984
1057
  end
985
1058
 
986
1059
  # The state of the {::Google::Cloud::Kms::V1::ImportJob ImportJob}, indicating if
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.21.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC