Setting up Own MQTT broker (using Mosquitto) - not authorized to perform: iot:CreatePolicy

0

I am setting own mqtt broker using aws workshop: https://catalog.us-east-1.prod.workshops.aws/workshops/5ecc2416-f956-4273-b729-d0d30556013f/en-US/chapter6-mqtt-broker/10-step1

In startup.sh script execution step getting errors:

  1. not authorized to perform: iot:CreatePolicy
  2. not authorized to perform: iot:CreateKeysAndCertificate

User account having all below access permissions: IAMFullAccess AmazonS3FullAccess AWSIoTFullAccess AWSGreengrassFullAccess GreengrassV2TokenExchangeRoleAcess AdministratorAccess

I am trying to resolve this couple of days, but not yet succeeded . It very urgent need resolve for current project

1개 답변
0

The aws credentials you are running with don't have access to the given actions. Please configure you CLI - https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html

답변함 2년 전
  • @sushantAtAWS it is already configured on AWS CLI

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠