AWS/S3 :- Error – “not authorized to perform: cloudfront:ListDistributions”

 

Background

Attempting to use S3 Browser to retrieve AWS/S3 resources, but getting the error listed in the Error Section.

Usage

S3 Browser

Upon registering AWS/S3 site and attempting to connect to registered site greeted with this prompt.

You are not allowed to get bucket list. Would you like to add an External Bucket?

Image

YouAreNotAllowedTogetBucketsList.2019019.1257PM.PNG

Error

S3 Browser

Access Denied/Is Not Authorized to perform Cloudfront:ListDistributions

Image

S3Browser.02.20190419.0103PM.PNG

Text

[W] [4/19/2019 21:12:09] Task failed (AccessDenied: User: arn:aws:iam::12817171829011:user/dadeniji is not authorized to perform: cloudfront:ListDistributions) TaskID: 236

 

TroubleShooting

Web Browser

Launched Web Browser accessed S3 Service.

Was able to review S3 buckets and folders via AWS Browser Console.

AWS/CLI

Download AWS/CLI

Downloaded AWS/CLI.

Installed AWS/CLI

Configure AWS/CLI

aws configure

Issue AWS/S3 Command

Issues AWS/S3, ls command :-


aws s3 ls

Error

Received error message.

Image

CLI.AccessDenied.01.20190419.0201PM.PNG


An error occurred (AccessDenied) when calling the ListBuckets operation : Access Denied.

 

Remediation

Please work with your AWS Administrators and have them grant your account S3 API Access.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s