awsdocs / aws-freertos-docs

FreeRTOS Documentation
Other
34 stars 42 forks source link

Acm command does not work with AWS CLI v2 #6

Closed massi-ang closed 4 years ago

massi-ang commented 4 years ago

AWS CLI v2 changes the way that b64 encoded files are read (https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-binaryparam) and that breaks the acm import-certificate command syntax used in the examples.

The correct way to import certificates in the v2 CLI is:

aws acm import-certificate --certificate fileb://... --private-key fileb://...

This works also in v1.

robhath commented 4 years ago

The changes have been incorporated into the documentation.