aws-sdk-kms 1.88.0 → 1.105.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 +4 -4
- data/CHANGELOG.md +85 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kms/client.rb +856 -589
- data/lib/aws-sdk-kms/client_api.rb +38 -4
- data/lib/aws-sdk-kms/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-kms/endpoint_provider.rb +13 -17
- data/lib/aws-sdk-kms/endpoints.rb +2 -740
- data/lib/aws-sdk-kms/plugins/endpoints.rb +19 -118
- data/lib/aws-sdk-kms/types.rb +491 -212
- data/lib/aws-sdk-kms.rb +15 -11
- data/sig/client.rbs +36 -13
- data/sig/resource.rbs +4 -0
- data/sig/types.rbs +40 -12
- metadata +6 -9
data/lib/aws-sdk-kms.rb
CHANGED
@@ -11,16 +11,7 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
|
15
|
-
require_relative 'aws-sdk-kms/client_api'
|
16
|
-
require_relative 'aws-sdk-kms/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-kms/client'
|
18
|
-
require_relative 'aws-sdk-kms/errors'
|
19
|
-
require_relative 'aws-sdk-kms/resource'
|
20
|
-
require_relative 'aws-sdk-kms/endpoint_parameters'
|
21
|
-
require_relative 'aws-sdk-kms/endpoint_provider'
|
22
|
-
require_relative 'aws-sdk-kms/endpoints'
|
23
|
-
require_relative 'aws-sdk-kms/customizations'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:kms)
|
24
15
|
|
25
16
|
# This module provides support for AWS Key Management Service. This module is available in the
|
26
17
|
# `aws-sdk-kms` gem.
|
@@ -51,7 +42,20 @@ require_relative 'aws-sdk-kms/customizations'
|
|
51
42
|
#
|
52
43
|
# @!group service
|
53
44
|
module Aws::KMS
|
45
|
+
autoload :Types, 'aws-sdk-kms/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-kms/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-kms/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-kms/client'
|
51
|
+
autoload :Errors, 'aws-sdk-kms/errors'
|
52
|
+
autoload :Resource, 'aws-sdk-kms/resource'
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-kms/endpoint_parameters'
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-kms/endpoint_provider'
|
55
|
+
autoload :Endpoints, 'aws-sdk-kms/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.105.0'
|
56
58
|
|
57
59
|
end
|
60
|
+
|
61
|
+
require_relative 'aws-sdk-kms/customizations'
|
data/sig/client.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -38,7 +39,9 @@ module Aws
|
|
38
39
|
?logger: untyped,
|
39
40
|
?max_attempts: Integer,
|
40
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
41
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
42
45
|
?retry_backoff: Proc,
|
43
46
|
?retry_base_delay: Float,
|
44
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -51,6 +54,7 @@ module Aws
|
|
51
54
|
?sigv4a_signing_region_set: Array[String],
|
52
55
|
?simple_json: bool,
|
53
56
|
?stub_responses: untyped,
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
58
|
?token_provider: untyped,
|
55
59
|
?use_dualstack_endpoint: bool,
|
56
60
|
?use_fips_endpoint: bool,
|
@@ -153,7 +157,7 @@ module Aws
|
|
153
157
|
?description: ::String,
|
154
158
|
?key_usage: ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC" | "KEY_AGREEMENT"),
|
155
159
|
?customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2"),
|
156
|
-
?key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2"),
|
160
|
+
?key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87"),
|
157
161
|
?origin: ("AWS_KMS" | "EXTERNAL" | "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE"),
|
158
162
|
?custom_key_store_id: ::String,
|
159
163
|
?bypass_policy_lockout_safety_check: bool,
|
@@ -174,6 +178,7 @@ module Aws
|
|
174
178
|
def plaintext: () -> ::String
|
175
179
|
def encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
|
176
180
|
def ciphertext_for_recipient: () -> ::String
|
181
|
+
def key_material_id: () -> ::String
|
177
182
|
end
|
178
183
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#decrypt-instance_method
|
179
184
|
def decrypt: (
|
@@ -205,11 +210,17 @@ module Aws
|
|
205
210
|
) -> _DeleteCustomKeyStoreResponseSuccess
|
206
211
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomKeyStoreResponseSuccess
|
207
212
|
|
213
|
+
interface _DeleteImportedKeyMaterialResponseSuccess
|
214
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteImportedKeyMaterialResponse]
|
215
|
+
def key_id: () -> ::String
|
216
|
+
def key_material_id: () -> ::String
|
217
|
+
end
|
208
218
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#delete_imported_key_material-instance_method
|
209
219
|
def delete_imported_key_material: (
|
210
|
-
key_id: ::String
|
211
|
-
|
212
|
-
|
220
|
+
key_id: ::String,
|
221
|
+
?key_material_id: ::String
|
222
|
+
) -> _DeleteImportedKeyMaterialResponseSuccess
|
223
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteImportedKeyMaterialResponseSuccess
|
213
224
|
|
214
225
|
interface _DeriveSharedSecretResponseSuccess
|
215
226
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeriveSharedSecretResponse]
|
@@ -316,6 +327,7 @@ module Aws
|
|
316
327
|
def plaintext: () -> ::String
|
317
328
|
def key_id: () -> ::String
|
318
329
|
def ciphertext_for_recipient: () -> ::String
|
330
|
+
def key_material_id: () -> ::String
|
319
331
|
end
|
320
332
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key-instance_method
|
321
333
|
def generate_data_key: (
|
@@ -340,6 +352,7 @@ module Aws
|
|
340
352
|
def key_id: () -> ::String
|
341
353
|
def key_pair_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
|
342
354
|
def ciphertext_for_recipient: () -> ::String
|
355
|
+
def key_material_id: () -> ::String
|
343
356
|
end
|
344
357
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key_pair-instance_method
|
345
358
|
def generate_data_key_pair: (
|
@@ -361,6 +374,7 @@ module Aws
|
|
361
374
|
def public_key: () -> ::String
|
362
375
|
def key_id: () -> ::String
|
363
376
|
def key_pair_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
|
377
|
+
def key_material_id: () -> ::String
|
364
378
|
end
|
365
379
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key_pair_without_plaintext-instance_method
|
366
380
|
def generate_data_key_pair_without_plaintext: (
|
@@ -376,6 +390,7 @@ module Aws
|
|
376
390
|
include ::Seahorse::Client::_ResponseSuccess[Types::GenerateDataKeyWithoutPlaintextResponse]
|
377
391
|
def ciphertext_blob: () -> ::String
|
378
392
|
def key_id: () -> ::String
|
393
|
+
def key_material_id: () -> ::String
|
379
394
|
end
|
380
395
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key_without_plaintext-instance_method
|
381
396
|
def generate_data_key_without_plaintext: (
|
@@ -466,10 +481,10 @@ module Aws
|
|
466
481
|
def key_id: () -> ::String
|
467
482
|
def public_key: () -> ::String
|
468
483
|
def customer_master_key_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
469
|
-
def key_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
484
|
+
def key_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87")
|
470
485
|
def key_usage: () -> ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC" | "KEY_AGREEMENT")
|
471
486
|
def encryption_algorithms: () -> ::Array[("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")]
|
472
|
-
def signing_algorithms: () -> ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")]
|
487
|
+
def signing_algorithms: () -> ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")]
|
473
488
|
def key_agreement_algorithms: () -> ::Array[("ECDH")]
|
474
489
|
end
|
475
490
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#get_public_key-instance_method
|
@@ -481,6 +496,8 @@ module Aws
|
|
481
496
|
|
482
497
|
interface _ImportKeyMaterialResponseSuccess
|
483
498
|
include ::Seahorse::Client::_ResponseSuccess[Types::ImportKeyMaterialResponse]
|
499
|
+
def key_id: () -> ::String
|
500
|
+
def key_material_id: () -> ::String
|
484
501
|
end
|
485
502
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#import_key_material-instance_method
|
486
503
|
def import_key_material: (
|
@@ -488,7 +505,10 @@ module Aws
|
|
488
505
|
import_token: ::String,
|
489
506
|
encrypted_key_material: ::String,
|
490
507
|
?valid_to: ::Time,
|
491
|
-
?expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE")
|
508
|
+
?expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE"),
|
509
|
+
?import_type: ("NEW_KEY_MATERIAL" | "EXISTING_KEY_MATERIAL"),
|
510
|
+
?key_material_description: ::String,
|
511
|
+
?key_material_id: ::String
|
492
512
|
) -> _ImportKeyMaterialResponseSuccess
|
493
513
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportKeyMaterialResponseSuccess
|
494
514
|
|
@@ -545,6 +565,7 @@ module Aws
|
|
545
565
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_key_rotations-instance_method
|
546
566
|
def list_key_rotations: (
|
547
567
|
key_id: ::String,
|
568
|
+
?include_key_material: ("ALL_KEY_MATERIAL" | "ROTATIONS_ONLY"),
|
548
569
|
?limit: ::Integer,
|
549
570
|
?marker: ::String
|
550
571
|
) -> _ListKeyRotationsResponseSuccess
|
@@ -607,6 +628,8 @@ module Aws
|
|
607
628
|
def key_id: () -> ::String
|
608
629
|
def source_encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
|
609
630
|
def destination_encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
|
631
|
+
def source_key_material_id: () -> ::String
|
632
|
+
def destination_key_material_id: () -> ::String
|
610
633
|
end
|
611
634
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#re_encrypt-instance_method
|
612
635
|
def re_encrypt: (
|
@@ -689,15 +712,15 @@ module Aws
|
|
689
712
|
include ::Seahorse::Client::_ResponseSuccess[Types::SignResponse]
|
690
713
|
def key_id: () -> ::String
|
691
714
|
def signature: () -> ::String
|
692
|
-
def signing_algorithm: () -> ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
|
715
|
+
def signing_algorithm: () -> ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")
|
693
716
|
end
|
694
717
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#sign-instance_method
|
695
718
|
def sign: (
|
696
719
|
key_id: ::String,
|
697
720
|
message: ::String,
|
698
|
-
?message_type: ("RAW" | "DIGEST"),
|
721
|
+
?message_type: ("RAW" | "DIGEST" | "EXTERNAL_MU"),
|
699
722
|
?grant_tokens: Array[::String],
|
700
|
-
signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA"),
|
723
|
+
signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256"),
|
701
724
|
?dry_run: bool
|
702
725
|
) -> _SignResponseSuccess
|
703
726
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SignResponseSuccess
|
@@ -766,15 +789,15 @@ module Aws
|
|
766
789
|
include ::Seahorse::Client::_ResponseSuccess[Types::VerifyResponse]
|
767
790
|
def key_id: () -> ::String
|
768
791
|
def signature_valid: () -> bool
|
769
|
-
def signing_algorithm: () -> ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
|
792
|
+
def signing_algorithm: () -> ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")
|
770
793
|
end
|
771
794
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#verify-instance_method
|
772
795
|
def verify: (
|
773
796
|
key_id: ::String,
|
774
797
|
message: ::String,
|
775
|
-
?message_type: ("RAW" | "DIGEST"),
|
798
|
+
?message_type: ("RAW" | "DIGEST" | "EXTERNAL_MU"),
|
776
799
|
signature: ::String,
|
777
|
-
signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA"),
|
800
|
+
signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256"),
|
778
801
|
?grant_tokens: Array[::String],
|
779
802
|
?dry_run: bool
|
780
803
|
) -> _VerifyResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -38,7 +39,9 @@ module Aws
|
|
38
39
|
?logger: untyped,
|
39
40
|
?max_attempts: Integer,
|
40
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
41
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
42
45
|
?retry_backoff: Proc,
|
43
46
|
?retry_base_delay: Float,
|
44
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -51,6 +54,7 @@ module Aws
|
|
51
54
|
?sigv4a_signing_region_set: Array[String],
|
52
55
|
?simple_json: bool,
|
53
56
|
?stub_responses: untyped,
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
58
|
?token_provider: untyped,
|
55
59
|
?use_dualstack_endpoint: bool,
|
56
60
|
?use_fips_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -118,7 +118,7 @@ module Aws::KMS
|
|
118
118
|
attr_accessor description: ::String
|
119
119
|
attr_accessor key_usage: ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC" | "KEY_AGREEMENT")
|
120
120
|
attr_accessor customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
121
|
-
attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
121
|
+
attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87")
|
122
122
|
attr_accessor origin: ("AWS_KMS" | "EXTERNAL" | "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE")
|
123
123
|
attr_accessor custom_key_store_id: ::String
|
124
124
|
attr_accessor bypass_policy_lockout_safety_check: bool
|
@@ -182,6 +182,7 @@ module Aws::KMS
|
|
182
182
|
attr_accessor plaintext: ::String
|
183
183
|
attr_accessor encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
|
184
184
|
attr_accessor ciphertext_for_recipient: ::String
|
185
|
+
attr_accessor key_material_id: ::String
|
185
186
|
SENSITIVE: [:plaintext]
|
186
187
|
end
|
187
188
|
|
@@ -200,6 +201,13 @@ module Aws::KMS
|
|
200
201
|
|
201
202
|
class DeleteImportedKeyMaterialRequest
|
202
203
|
attr_accessor key_id: ::String
|
204
|
+
attr_accessor key_material_id: ::String
|
205
|
+
SENSITIVE: []
|
206
|
+
end
|
207
|
+
|
208
|
+
class DeleteImportedKeyMaterialResponse
|
209
|
+
attr_accessor key_id: ::String
|
210
|
+
attr_accessor key_material_id: ::String
|
203
211
|
SENSITIVE: []
|
204
212
|
end
|
205
213
|
|
@@ -331,6 +339,7 @@ module Aws::KMS
|
|
331
339
|
attr_accessor key_id: ::String
|
332
340
|
attr_accessor key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
|
333
341
|
attr_accessor ciphertext_for_recipient: ::String
|
342
|
+
attr_accessor key_material_id: ::String
|
334
343
|
SENSITIVE: [:private_key_plaintext]
|
335
344
|
end
|
336
345
|
|
@@ -348,6 +357,7 @@ module Aws::KMS
|
|
348
357
|
attr_accessor public_key: ::String
|
349
358
|
attr_accessor key_id: ::String
|
350
359
|
attr_accessor key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2")
|
360
|
+
attr_accessor key_material_id: ::String
|
351
361
|
SENSITIVE: []
|
352
362
|
end
|
353
363
|
|
@@ -367,6 +377,7 @@ module Aws::KMS
|
|
367
377
|
attr_accessor plaintext: ::String
|
368
378
|
attr_accessor key_id: ::String
|
369
379
|
attr_accessor ciphertext_for_recipient: ::String
|
380
|
+
attr_accessor key_material_id: ::String
|
370
381
|
SENSITIVE: [:plaintext]
|
371
382
|
end
|
372
383
|
|
@@ -383,6 +394,7 @@ module Aws::KMS
|
|
383
394
|
class GenerateDataKeyWithoutPlaintextResponse
|
384
395
|
attr_accessor ciphertext_blob: ::String
|
385
396
|
attr_accessor key_id: ::String
|
397
|
+
attr_accessor key_material_id: ::String
|
386
398
|
SENSITIVE: []
|
387
399
|
end
|
388
400
|
|
@@ -466,10 +478,10 @@ module Aws::KMS
|
|
466
478
|
attr_accessor key_id: ::String
|
467
479
|
attr_accessor public_key: ::String
|
468
480
|
attr_accessor customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
469
|
-
attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
481
|
+
attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87")
|
470
482
|
attr_accessor key_usage: ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC" | "KEY_AGREEMENT")
|
471
483
|
attr_accessor encryption_algorithms: ::Array[("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")]
|
472
|
-
attr_accessor signing_algorithms: ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")]
|
484
|
+
attr_accessor signing_algorithms: ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")]
|
473
485
|
attr_accessor key_agreement_algorithms: ::Array[("ECDH")]
|
474
486
|
SENSITIVE: []
|
475
487
|
end
|
@@ -499,10 +511,16 @@ module Aws::KMS
|
|
499
511
|
attr_accessor encrypted_key_material: ::String
|
500
512
|
attr_accessor valid_to: ::Time
|
501
513
|
attr_accessor expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE")
|
514
|
+
attr_accessor import_type: ("NEW_KEY_MATERIAL" | "EXISTING_KEY_MATERIAL")
|
515
|
+
attr_accessor key_material_description: ::String
|
516
|
+
attr_accessor key_material_id: ::String
|
502
517
|
SENSITIVE: []
|
503
518
|
end
|
504
519
|
|
505
|
-
class ImportKeyMaterialResponse
|
520
|
+
class ImportKeyMaterialResponse
|
521
|
+
attr_accessor key_id: ::String
|
522
|
+
attr_accessor key_material_id: ::String
|
523
|
+
SENSITIVE: []
|
506
524
|
end
|
507
525
|
|
508
526
|
class IncorrectKeyException
|
@@ -603,15 +621,16 @@ module Aws::KMS
|
|
603
621
|
attr_accessor expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE")
|
604
622
|
attr_accessor key_manager: ("AWS" | "CUSTOMER")
|
605
623
|
attr_accessor customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
606
|
-
attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
|
624
|
+
attr_accessor key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87")
|
607
625
|
attr_accessor encryption_algorithms: ::Array[("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")]
|
608
|
-
attr_accessor signing_algorithms: ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")]
|
626
|
+
attr_accessor signing_algorithms: ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")]
|
609
627
|
attr_accessor key_agreement_algorithms: ::Array[("ECDH")]
|
610
628
|
attr_accessor multi_region: bool
|
611
629
|
attr_accessor multi_region_configuration: Types::MultiRegionConfiguration
|
612
630
|
attr_accessor pending_deletion_window_in_days: ::Integer
|
613
631
|
attr_accessor mac_algorithms: ::Array[("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")]
|
614
632
|
attr_accessor xks_key_configuration: Types::XksKeyConfigurationType
|
633
|
+
attr_accessor current_key_material_id: ::String
|
615
634
|
SENSITIVE: []
|
616
635
|
end
|
617
636
|
|
@@ -671,6 +690,7 @@ module Aws::KMS
|
|
671
690
|
|
672
691
|
class ListKeyRotationsRequest
|
673
692
|
attr_accessor key_id: ::String
|
693
|
+
attr_accessor include_key_material: ("ALL_KEY_MATERIAL" | "ROTATIONS_ONLY")
|
674
694
|
attr_accessor limit: ::Integer
|
675
695
|
attr_accessor marker: ::String
|
676
696
|
SENSITIVE: []
|
@@ -767,6 +787,8 @@ module Aws::KMS
|
|
767
787
|
attr_accessor key_id: ::String
|
768
788
|
attr_accessor source_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
|
769
789
|
attr_accessor destination_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
|
790
|
+
attr_accessor source_key_material_id: ::String
|
791
|
+
attr_accessor destination_key_material_id: ::String
|
770
792
|
SENSITIVE: []
|
771
793
|
end
|
772
794
|
|
@@ -820,6 +842,12 @@ module Aws::KMS
|
|
820
842
|
|
821
843
|
class RotationsListEntry
|
822
844
|
attr_accessor key_id: ::String
|
845
|
+
attr_accessor key_material_id: ::String
|
846
|
+
attr_accessor key_material_description: ::String
|
847
|
+
attr_accessor import_state: ("IMPORTED" | "PENDING_IMPORT")
|
848
|
+
attr_accessor key_material_state: ("NON_CURRENT" | "CURRENT" | "PENDING_ROTATION")
|
849
|
+
attr_accessor expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE")
|
850
|
+
attr_accessor valid_to: ::Time
|
823
851
|
attr_accessor rotation_date: ::Time
|
824
852
|
attr_accessor rotation_type: ("AUTOMATIC" | "ON_DEMAND")
|
825
853
|
SENSITIVE: []
|
@@ -842,9 +870,9 @@ module Aws::KMS
|
|
842
870
|
class SignRequest
|
843
871
|
attr_accessor key_id: ::String
|
844
872
|
attr_accessor message: ::String
|
845
|
-
attr_accessor message_type: ("RAW" | "DIGEST")
|
873
|
+
attr_accessor message_type: ("RAW" | "DIGEST" | "EXTERNAL_MU")
|
846
874
|
attr_accessor grant_tokens: ::Array[::String]
|
847
|
-
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
|
875
|
+
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")
|
848
876
|
attr_accessor dry_run: bool
|
849
877
|
SENSITIVE: [:message]
|
850
878
|
end
|
@@ -852,7 +880,7 @@ module Aws::KMS
|
|
852
880
|
class SignResponse
|
853
881
|
attr_accessor key_id: ::String
|
854
882
|
attr_accessor signature: ::String
|
855
|
-
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
|
883
|
+
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")
|
856
884
|
SENSITIVE: []
|
857
885
|
end
|
858
886
|
|
@@ -938,9 +966,9 @@ module Aws::KMS
|
|
938
966
|
class VerifyRequest
|
939
967
|
attr_accessor key_id: ::String
|
940
968
|
attr_accessor message: ::String
|
941
|
-
attr_accessor message_type: ("RAW" | "DIGEST")
|
969
|
+
attr_accessor message_type: ("RAW" | "DIGEST" | "EXTERNAL_MU")
|
942
970
|
attr_accessor signature: ::String
|
943
|
-
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
|
971
|
+
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")
|
944
972
|
attr_accessor grant_tokens: ::Array[::String]
|
945
973
|
attr_accessor dry_run: bool
|
946
974
|
SENSITIVE: [:message]
|
@@ -949,7 +977,7 @@ module Aws::KMS
|
|
949
977
|
class VerifyResponse
|
950
978
|
attr_accessor key_id: ::String
|
951
979
|
attr_accessor signature_valid: bool
|
952
|
-
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA")
|
980
|
+
attr_accessor signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256")
|
953
981
|
SENSITIVE: []
|
954
982
|
end
|
955
983
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.105.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: aws-sdk-core
|
@@ -19,7 +18,7 @@ dependencies:
|
|
19
18
|
version: '3'
|
20
19
|
- - ">="
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
21
|
+
version: 3.225.0
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +28,7 @@ dependencies:
|
|
29
28
|
version: '3'
|
30
29
|
- - ">="
|
31
30
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
31
|
+
version: 3.225.0
|
33
32
|
- !ruby/object:Gem::Dependency
|
34
33
|
name: aws-sigv4
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,7 +76,6 @@ licenses:
|
|
77
76
|
metadata:
|
78
77
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kms
|
79
78
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kms/CHANGELOG.md
|
80
|
-
post_install_message:
|
81
79
|
rdoc_options: []
|
82
80
|
require_paths:
|
83
81
|
- lib
|
@@ -85,15 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
83
|
requirements:
|
86
84
|
- - ">="
|
87
85
|
- !ruby/object:Gem::Version
|
88
|
-
version: '2.
|
86
|
+
version: '2.7'
|
89
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
88
|
requirements:
|
91
89
|
- - ">="
|
92
90
|
- !ruby/object:Gem::Version
|
93
91
|
version: '0'
|
94
92
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
96
|
-
signing_key:
|
93
|
+
rubygems_version: 3.6.7
|
97
94
|
specification_version: 4
|
98
95
|
summary: AWS SDK for Ruby - KMS
|
99
96
|
test_files: []
|