You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::KeyPairInfo
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::KeyPairInfo
- Defined in:
- (unknown)
Overview
Describes a key pair.
Instance Attribute Summary collapse
-
#key_fingerprint ⇒ String
If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private key.
-
#key_name ⇒ String
The name of the key pair.
-
#key_pair_id ⇒ String
The ID of the key pair.
-
#tags ⇒ Array<Types::Tag>
Any tags applied to the key pair.
Instance Attribute Details
#key_fingerprint ⇒ String
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.
#key_name ⇒ String
The name of the key pair.
#key_pair_id ⇒ String
The ID of the key pair.
#tags ⇒ Array<Types::Tag>
Any tags applied to the key pair.