import-key-pair fails with ASCII key file #9128
Labels
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
ec2
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
As reported here awslabs/ec2-spot-workshops#48 the aws cli command to upload a key using a file name does not generate base64 as it should per the documentation.
Regression Issue
Expected Behavior
Current Behavior
Invalid base64: "ssh-rsa XXXXXXXXXXX"
Reproduction Steps
Use CodeBuild
aws/codebuild/amazonlinux-x86_64-standard:4.0
container and try to add a keypair via CLI.Possible Solution
As suggested in the linked thread
fileb:
is used.Additional Information/Context
No response
CLI version used
1.18.147-1.amzn2.0.2
Environment details (OS name and version, etc.)
AL2
The text was updated successfully, but these errors were encountered: