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

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

Overview

Describes a key pair.

Instance Attribute Summary collapse

Instance Attribute Details

#key_fingerprintString

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

Returns:

  • (String)


23491
23492
23493
23494
23495
23496
# File 'lib/aws-sdk-ec2/types.rb', line 23491

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name)
  include Aws::Structure
end

#key_materialString

An unencrypted PEM encoded RSA private key.

Returns:

  • (String)


23491
23492
23493
23494
23495
23496
# File 'lib/aws-sdk-ec2/types.rb', line 23491

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name)
  include Aws::Structure
end

#key_nameString

The name of the key pair.

Returns:

  • (String)


23491
23492
23493
23494
23495
23496
# File 'lib/aws-sdk-ec2/types.rb', line 23491

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name)
  include Aws::Structure
end