AWSKMSGetParametersForImportRequest

Objective-C

@interface AWSKMSGetParametersForImportRequest

Swift

class AWSKMSGetParametersForImportRequest
  • The identifier of the symmetric encryption KMS key into which you will import key material. The Origin of the KMS key must be EXTERNAL.

    Specify the key ID or key ARN of the KMS key.

    For example:

    • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

    • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

    To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyId;

    Swift

    var keyId: String? { get set }
  • The algorithm you will use to encrypt the key material before using the ImportKeyMaterial operation to import it. For more information, see Encrypt the key material in the Key Management Service Developer Guide.

    The RSAES_PKCS1_V1_5 wrapping algorithm is deprecated. We recommend that you begin using a different wrapping algorithm immediately. KMS will end support for RSAES_PKCS1_V1_5 by October 1, 2023 pursuant to cryptographic key management guidance from the National Institute of Standards and Technology (NIST).

    Declaration

    Objective-C

    @property (nonatomic) AWSKMSAlgorithmSpec wrappingAlgorithm;

    Swift

    var wrappingAlgorithm: AWSKMSAlgorithmSpec { get set }
  • The type of wrapping key (public key) to return in the response. Only 2048-bit RSA public keys are supported.

    Declaration

    Objective-C

    @property (nonatomic) AWSKMSWrappingKeySpec wrappingKeySpec;

    Swift

    var wrappingKeySpec: AWSKMSWrappingKeySpec { get set }