New IAM admin user sees “You are not authorized to perform this operation”

后端 未结 3 672
没有蜡笔的小新
没有蜡笔的小新 2021-01-02 06:34

I am trying to get started with the AWS CLI on OSX. I installed aws via pip. I have created a new user in IAM and attached the pre-built AdministratorAcce

3条回答
  •  一整个雨季
    2021-01-02 07:02

    In my case this was caused by not having the correct policy attached to the IAM user I was authenticating with.

    Attach the AmazonEC2FullAccess policy to the user in the IAM Management Console and the command should work.

提交回复
热议问题