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

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

Overview

Constant Summary collapse

SENSITIVE =
[:public_key]

Instance Attribute Summary collapse

Instance Attribute Details

#import_tokenString

The import token to send in a subsequent ImportKeyMaterial request.

Returns:

  • (String)


3498
3499
3500
3501
3502
3503
3504
3505
# File 'lib/aws-sdk-kms/types.rb', line 3498

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

#key_idString

The Amazon Resource Name ([key ARN]) of the KMS key to use in a subsequent ImportKeyMaterial request. This is the same KMS key specified in the ‘GetParametersForImport` request.

[1]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN

Returns:

  • (String)


3498
3499
3500
3501
3502
3503
3504
3505
# File 'lib/aws-sdk-kms/types.rb', line 3498

class GetParametersForImportResponse < Struct.new(
  :key_id,
  :import_token,
  :public_key,
  :parameters_valid_to)
  SENSITIVE = [:public_key]
  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 get new ones.

Returns:

  • (Time)


3498
3499
3500
3501
3502
3503
3504
3505
# File 'lib/aws-sdk-kms/types.rb', line 3498

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

#public_keyString

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

Returns:

  • (String)


3498
3499
3500
3501
3502
3503
3504
3505
# File 'lib/aws-sdk-kms/types.rb', line 3498

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