Getting Access Denied when calling the PutObject operation with bucket-level permission

前端 未结 14 1359
醉话见心
醉话见心 2020-12-12 13:37

I followed the example on http://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_examples.html#iam-policy-example-s3 for how to grant a user access to just one buck

14条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 13:52

    In case this help out anyone else, in my case, I was using a CMK (it worked fine using the default aws/s3 key)

    I had to go into my encryption key definition in IAM and add the programmatic user logged into boto3 to the list of users that "can use this key to encrypt and decrypt data from within applications and when using AWS services integrated with KMS.".

提交回复
热议问题