Groups
Sign in
Groups
Common Crawl
Conversations
About
Send feedback
Help
S3 Access Denied via aws cli
43 views
Skip to first unread message
Henri Egle Sorotos
unread,
Jan 5, 2023, 6:57:53 AM
1/5/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Common Crawl
Hi,
I have signed in via the aws cli to ensure my requests are authenticated as per the documents. When I run the following I get an access denied:
```
$ aws s3 ls s3://commoncrawl/
An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
```
I have also checked this using a personal aws account and have replicated the issue. Is there an issue with the service at the moment?
TYIA.
Sebastian Nagel
unread,
Jan 5, 2023, 8:25:54 AM
1/5/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to common...@googlegroups.com
Hi Henri,
what happens if you add the argument --profile to the call?
aws --profile XYZ s3 ls s3://commoncrawl/
Make sure that the AWS user referenced by --profile is allowed
to list S3 buckets via IAM policies.
I'm not able to reproduce any issue and was successful to receive
a listing using two different AWS users/accounts.
Best,
Sebastian
> --
> You received this message because you are subscribed to the Google
> Groups "Common Crawl" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
common-crawl...@googlegroups.com
> <mailto:
common-crawl...@googlegroups.com
>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/common-crawl/15dd43b4-78b9-4c06-9949-1eacff12d5edn%40googlegroups.com
<
https://groups.google.com/d/msgid/common-crawl/15dd43b4-78b9-4c06-9949-1eacff12d5edn%40googlegroups.com?utm_medium=email&utm_source=footer
>.
Henri Egle Sorotos
unread,
Jan 5, 2023, 8:39:34 AM
1/5/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Common Crawl
Thanks for the reply Sebastian.
It's a permissions issue at my end - what you said worked a treat. Thanks for your help.
Reply all
Reply to author
Forward
0 new messages