Skip to main content
Version: Next

key_pair

Table to manage keypairs for EC2 instances. A key pair, consisting of a public key and a private key, is a set of security credentials that you use to prove your identity when connecting to an Amazon EC2 instance.

Amazon EC2 stores the public key on your instance, and you store the private key.

Keys can only be listed and deleted. The keypairs can be created using key_pair_request and key_pair_import methods.

See

Columns

Optional fingerprint: string

Generated fingerprint for the keypair

See

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/verify-keys.html

Optional key_pair_id: string

AWS generated ID for the keypair

name: string

Name for the EC2 keypair

Optional public_key: string

Public key for the keypair. This will be used to grant ssh access to the associated instances.

region: string

Region for the keypair

type: key_type

Type for the key

See

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/enums/keytype.html