You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::KMS::Types::GetParametersForImportRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::KMS::Types::GetParametersForImportRequest
- Defined in:
- (unknown)
Overview
When passing GetParametersForImportRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
key_id: "KeyIdType", # required
wrapping_algorithm: "RSAES_PKCS1_V1_5", # required, accepts RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, RSAES_OAEP_SHA_256
wrapping_key_spec: "RSA_2048", # required, accepts RSA_2048
}
Instance Attribute Summary collapse
-
#key_id ⇒ String
The identifier of the symmetric CMK into which you will import key material.
-
#wrapping_algorithm ⇒ String
The algorithm you will use to encrypt the key material before importing it with ImportKeyMaterial.
-
#wrapping_key_spec ⇒ String
The type of wrapping key (public key) to return in the response.
Instance Attribute Details
#key_id ⇒ String
The identifier of the symmetric CMK into which you will import key
material. The Origin of the CMK must be EXTERNAL.
Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
Key ID:
1234abcd-12ab-34cd-56ef-1234567890abKey ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
#wrapping_algorithm ⇒ String
The algorithm you will use to encrypt the key material before importing it with ImportKeyMaterial. For more information, see Encrypt the Key Material in the AWS Key Management Service Developer Guide.
#wrapping_key_spec ⇒ String
The type of wrapping key (public key) to return in the response. Only 2048-bit RSA public keys are supported.
Possible values:
- RSA_2048