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

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

Overview

Describes a key pair.

Constant Summary collapse

SENSITIVE =
[]

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)


35111
35112
35113
35114
35115
35116
35117
35118
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35111

class KeyPairInfo < Struct.new(
  :key_pair_id,
  :key_fingerprint,
  :key_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#key_nameString

The name of the key pair.

Returns:

  • (String)


35111
35112
35113
35114
35115
35116
35117
35118
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35111

class KeyPairInfo < Struct.new(
  :key_pair_id,
  :key_fingerprint,
  :key_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#key_pair_idString

The ID of the key pair.

Returns:

  • (String)


35111
35112
35113
35114
35115
35116
35117
35118
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35111

class KeyPairInfo < Struct.new(
  :key_pair_id,
  :key_fingerprint,
  :key_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags applied to the key pair.

Returns:



35111
35112
35113
35114
35115
35116
35117
35118
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35111

class KeyPairInfo < Struct.new(
  :key_pair_id,
  :key_fingerprint,
  :key_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end