Options Of Creating KeyPair
[ –key-name <value> ] : It specifies the name of the key pair. The value should be specified as unique name for the key pair.
[ –dry-run | –no-dry-run ] : It allows simulation of execution of command without actual creating the key pair.
[ -type <value> ] : It used for specifying the type of the key pair to generatesuch as the value be RSA, ECDSA etc.. depending on the type of supporting connection.
[ –key-format <value> ] : It used for specifying the format of the key pair and the value could be PEM, DER etc…
How To A Create A Key Pairs In AWS-EC2 ? |Complete Tutorial
In Amazon Web Services, an EC2 key pair consists of a public key and a private key that is used to securely communicate with EC2 instances. The public key is stored on the EC2 instance and is used to encrypt messages that can only be decrypted by the corresponding private key, which is kept by the user who generated the key pair. The private key is used to decrypt messages that have been encrypted with the public key.