Tag: kms


Getting an unexplained AccessDenied when using AWS CLI S3 copy function

Getting an unexplained AccessDenied when using AWS CLI S3 copy function

Are you getting an unexplained An error occurred (AccessDenied) when calling the GetObject operation: Access Denied error when trying to copy a file from an S3 bucket on an EC2 instance even though the assigned role has the s3:GetObject permission? It could be that your bucket/file is encrypted with AWS-KMS.

Read more