Class: Aws::EC2::Types::ImportKeyPairResult

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_fingerprintString

  • For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC 4716.

  • For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.

Returns:

  • (String)


38229
38230
38231
38232
38233
38234
38235
38236
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 38229

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

#key_nameString

The key pair name that you provided.

Returns:

  • (String)


38229
38230
38231
38232
38233
38234
38235
38236
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 38229

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

#key_pair_idString

The ID of the resulting key pair.

Returns:

  • (String)


38229
38230
38231
38232
38233
38234
38235
38236
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 38229

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

#tagsArray<Types::Tag>

The tags applied to the imported key pair.

Returns:



38229
38230
38231
38232
38233
38234
38235
38236
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 38229

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