Use boto3 ec2.create_key_pair() function
Closed this issue · 1 comments
bisoldi commented
Is there a reason you're using the python cryptography package to create the RSA key rather than using the boto3 create_key_pair function in the EC2 module?
Is it simply to allow customizing the keysize?
mvanholsteijn commented
The secret provider is capable of generating several types of private keys, so for consistency I used the Python cryptography package.