KeyPairInfo
import type { KeyPairInfo } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
Describes a key pair.
interface KeyPairInfo {
KeyFingerprint?: string | null;
KeyName?: string | null;
KeyPairId?: string | null;
KeyType?: KeyType | null;
Tags: Tag[];
}§Properties
§
KeyFingerprint?: string | null
[src]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 Amazon Web Services 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.