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 réponse
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

répondu il y a 2 ans
  • @sushantAtAWS it is already configured on AWS CLI

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions