Class: Aws::EC2::Types::KeyPairInfo

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

If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private key. If you used ImportKeyPair to provide AWS the public key, this is the MD5 public key fingerprint as specified in section 4 of RFC4716.

Returns:

  • (String)


23513
23514
23515
23516
23517
# File 'lib/aws-sdk-ec2/types.rb', line 23513

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

#key_nameString

The name of the key pair.

Returns:

  • (String)


23513
23514
23515
23516
23517
# File 'lib/aws-sdk-ec2/types.rb', line 23513

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