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 Antwort
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

beantwortet vor 2 Jahren
  • @sushantAtAWS it is already configured on AWS CLI

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen