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.

Constant Summary collapse

SENSITIVE =
[:key_material]

Instance Attribute Summary collapse

Instance Attribute Details

#key_fingerprintString

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

Returns:

  • (String)


31373
31374
31375
31376
31377
31378
31379
31380
31381
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31373

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

#key_materialString

An unencrypted PEM encoded RSA private key.

Returns:

  • (String)


31373
31374
31375
31376
31377
31378
31379
31380
31381
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31373

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

#key_nameString

The name of the key pair.

Returns:

  • (String)


31373
31374
31375
31376
31377
31378
31379
31380
31381
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31373

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

#key_pair_idString

The ID of the key pair.

Returns:

  • (String)


31373
31374
31375
31376
31377
31378
31379
31380
31381
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31373

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

#tagsArray<Types::Tag>

Any tags applied to the key pair.

Returns:



31373
31374
31375
31376
31377
31378
31379
31380
31381
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31373

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