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

Class: Aws::EC2::Types::KeyPair

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

Overview

Describes a key pair.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#key_fingerprintString

The SHA-1 digest of the DER encoded private key.

Returns:

  • (String)

    The SHA-1 digest of the DER encoded private key.

#key_materialString

An unencrypted PEM encoded RSA private key.

Returns:

  • (String)

    An unencrypted PEM encoded RSA private key.

#key_nameString

The name of the key pair.

Returns:

  • (String)

    The name of the key pair.