aws iot describe-endpoint::You must specify a region

后端 未结 1 488
-上瘾入骨i
-上瘾入骨i 2021-01-22 06:17

I am following this tutorial for connecting Raspberry Pi to AWS IoT using Node.js SDK and I have done all the other steps but I am lost in the authentication and certificate ste

相关标签:
1条回答
  • 2021-01-22 07:00

    This fixed the problem:

    • Browse to https://console.aws.amazon.com/iam/home?region=us-west-2#security_credential and then if you don’t have a key click on create new access key and if you already have it save the information and enter it in front of entries of aws configure command and also for region select “us-west-2” is Oregon is selected in your dashboard.
    • After that you will be able to see the credential in the following: The AWS credentials file – located at ~/.aws/credentials on Linux, OS X, or Unix
    0 讨论(0)
提交回复
热议问题