You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::KMS::Types::GetParametersForImportResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#import_tokenString

The import token to send in a subsequent ImportKeyMaterial request.

Returns:

  • (String)


1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 1122

class GetParametersForImportResponse < Struct.new(
  :key_id,
  :import_token,
  :public_key,
  :parameters_valid_to)
  include Aws::Structure
end

#key_idString

The identifier of the CMK to use in a subsequent ImportKeyMaterial request. This is the same CMK specified in the GetParametersForImport request.

Returns:

  • (String)


1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 1122

class GetParametersForImportResponse < Struct.new(
  :key_id,
  :import_token,
  :public_key,
  :parameters_valid_to)
  include Aws::Structure
end

#parameters_valid_toTime

The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to retrieve new ones.

Returns:

  • (Time)


1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 1122

class GetParametersForImportResponse < Struct.new(
  :key_id,
  :import_token,
  :public_key,
  :parameters_valid_to)
  include Aws::Structure
end

#public_keyString

The public key to use to encrypt the key material before importing it with ImportKeyMaterial.

Returns:

  • (String)


1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 1122

class GetParametersForImportResponse < Struct.new(
  :key_id,
  :import_token,
  :public_key,
  :parameters_valid_to)
  include Aws::Structure
end