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

Class: Aws::KMS::Types::GenerateDataKeyPairResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

The Amazon Resource Name (key ARN) of the CMK that encrypted the private key.

Returns:

  • (String)

    The Amazon Resource Name ([key ARN][1]) of the CMK that encrypted the private key.

#key_pair_specString

The type of data key pair that was generated.

Possible values:

  • RSA_2048
  • RSA_3072
  • RSA_4096
  • ECC_NIST_P256
  • ECC_NIST_P384
  • ECC_NIST_P521
  • ECC_SECG_P256K1

Returns:

  • (String)

    The type of data key pair that was generated.

#private_key_ciphertext_blobString

The encrypted copy of the private key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

Returns:

  • (String)

    The encrypted copy of the private key.

#private_key_plaintextString

The plaintext copy of the private key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

Returns:

  • (String)

    The plaintext copy of the private key.

#public_keyString

The public key (in plaintext).

Returns:

  • (String)

    The public key (in plaintext).