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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


16105
16106
16107
16108
16109
16110
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16105

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)


16105
16106
16107
16108
16109
16110
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16105

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

#key_nameString

The name of the key pair.

Returns:

  • (String)


16105
16106
16107
16108
16109
16110
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16105

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