Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

How do I load AWS credentials onto esp 32

Everytime I try this "mos aws-iot-setup --aws-region us-west-1 --aws-iot-policy mos-default"
I get this "Server Error: {"error":"SharedCredsLoad: failed to load shared credentials file\ncaused by: BOM: read C:\Users\shirley\.aws\credentials: The handle is invalid."}
This is path on my PC "C:\Users\shirley.aws\credentials" and the credentials folder contains "cert.pem", "private.key" ,"public.key", and "root-CA.crt"

Any ideas

Comments

  • Did you try to regenerate those creds?

  • valdivjvaldivj roseburg
    edited January 6

    I have regenerated them
    Im stiil getting: "Server Error: {"error":"SharedCredsLoad: failed to load shared credentials file\ncaused by: BOM: read C:\Users\shirley.aws\credentials: The handle is invalid."}
    This is path on my PC "C:\Users\shirley.aws\credentials" and the credentials folder contains "cert.pem", "private.key" ,"public.key", and "root-CA.crt"

Sign In or Register to comment.