KeyPairInfo - Amazon Elastic Compute Cloud

KeyPairInfo

Describes a key pair.

Contents

keyFingerprint

If you used CreateKeyPair to create the key pair:

  • For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.

  • 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.

If you used ImportKeyPair to provide AWS the public key:

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

  • 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.

Type: String

Required: No

keyName

The name of the key pair.

Type: String

Required: No

keyPairId

The ID of the key pair.

Type: String

Required: No

keyType

The type of key pair.

Type: String

Valid Values: rsa | ed25519

Required: No

tagSet

Any tags applied to the key pair.

Type: Array of Tag objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: