@aws-sdk/client-ec2

CreateKeyPairCommandOutput Interface

The output of CreateKeyPairCommand.

Members

Name
Type
Details
$metadata RequiredResponseMetadata
Metadata pertaining to this request.
KeyFingerprint string | undefined
  • 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.

KeyMaterial string | undefined

An unencrypted PEM encoded RSA or ED25519 private key.

KeyName string | undefined

The name of the key pair.

KeyPairId string | undefined

The ID of the key pair.

Tags Tag[] | undefined

Any tags applied to the key pair.

Full Signature

export interface CreateKeyPairCommandOutput extends KeyPair, MetadataBearer