如何修复AWS S3存储桶任务“对不起!您无权查看此存储桶。“

时间:2021-01-26 10:47:19

After messing around with S3 bucket permission, I can't access the s3 bucket from AWS console and CLI. Always getting this error from the console

在搞乱S3存储桶权限后,我无法从AWS控制台和CLI访问s3存储桶。始终从控制台收到此错误

Sorry! You do not have permissions to view this bucket.

抱歉!您无权查看此存储桶。

Using the CLI on any s3api call, would get Access Denied.

在任何s3api调用上使用CLI,将获得Access Denied。

A client error (AccessDenied) occurred when calling the GetBucketVersioning operation: Access Denied A client error (AccessDenied) occurred when calling the PutObjectAcl operation: Access Denied

调用GetBucketVersioning操作时发生客户端错误(AccessDenied):访问被拒绝调用PutObjectAcl操作时发生客户端错误(AccessDenied):访问被拒绝

Anyone know how to fix this issue.

任何人都知道如何解决这个问题。

1 个解决方案

#1


1  

I solved the problem in the end it was the bucket policy where my IP was in the blocked instead of allow access. I used a different ip and able to update bucket policy.

我解决了这个问题,最后是我的IP处于阻塞而不是允许访问的存储桶策略。我使用了不同的ip并且能够更新存储桶策略。

#1


1  

I solved the problem in the end it was the bucket policy where my IP was in the blocked instead of allow access. I used a different ip and able to update bucket policy.

我解决了这个问题,最后是我的IP处于阻塞而不是允许访问的存储桶策略。我使用了不同的ip并且能够更新存储桶策略。