ec2_create_key_pair function

Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the specified format