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 Resposta
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 há 2 anos
  • @sushantAtAWS it is already configured on AWS CLI

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas