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

respondido hace 2 años
  • @sushantAtAWS it is already configured on AWS CLI

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas