The Key-Pairs are password-protected login credentials for the Virtual Machines that are used to prove our identity while connecting the Amazon EC2 instances. The Key-Pairs are made up of a Private Key and a Public Key which lets us connect to the instances.
https://docs.aws.amazon.com/servicecatalog/latest/adminguide/getstarted-keypair.html