cdk-ec2-key-pair
cdk-ec2-key-pair copied to clipboard
Add support type of Key: RSA or ed25519
In a current moment Key pairs support 2 types: RSA and ed25519.
If it possible I want to ask to add opportunity to choose key type
Hi Dmitry,
I looked into this for quite some time but wasn't able to figure it out. I created #39, which so far is a partial implementation.
The problem is, the forge library seems to have limited support for ed25519 keys. I haven't found a way to generate the public key from the key pair.
Maybe in a future version of forge.
Cheers, Daniel
@udondan we need this feature for Amazon Linux 2023 https://docs.aws.amazon.com/linux/al2023/ug/ssh-host-keys-disabled.html