Skip to content

AG - s3:ListAllMyBuckets - user policies #8156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Object Storage - Identity and access management
excerpt: The purpose of this guide is to show you how to manage your identities and access your Object Storage resources
updated: 2025-03-21
updated: 2025-07-11
---

## Objective
Expand Down Expand Up @@ -120,6 +120,24 @@ Some examples of JSON configuration files:
}
```

**Deny listing of all buckets owned by the parent account**

> [!primary]
>
> The (`s3:ListAllMyBuckets`) action is allowed by default for a given user. Add the `deny`{.action} effect if you want to explictly refuse the use of the `ListBuckets`{.action} API operation.
>

```json
{
"Statement":[{
"Sid": "DenyListBucket",
"Effect": "Deny",
"Action":["s3:ListAllMyBuckets"],
"Resource":["*"]
}]
}
```

**Allow all operations on all project resources**

```json
Expand Down Expand Up @@ -176,6 +194,7 @@ Some examples of JSON configuration files:
| s3:GetObjectRetention | Object |
| s3:GetObjectTagging | Object |
| s3:GetReplicationConfiguration | Bucket |
| s3:ListAllMyBuckets | Bucket |
| s3:ListBucket | Bucket |
| s3:ListBucketMultipartUploads | Bucket |
| s3:ListMultipartUploadParts | Object |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Object Storage - Gestion des identités et des accès
excerpt: Ce guide a pour objectif de vous montrer la gestion de vos identités et accès à vos ressources Object Storage
updated: 2025-03-21
updated: 2025-07-11
---

## Objectif
Expand Down Expand Up @@ -120,6 +120,24 @@ Quelques exemples de fichiers de configuration JSON :
}
```

**Refuser l'affichage de tous les buckets appartenant au compte.**

> [!primary]
>
> L'action (`s3:ListAllMyBuckets`) est autorisée par défaut pour un utilisateur donné. Ajouter explicitement un `deny`{.action} si vous souhaitez refuser l'utilisation de l'opération d'API `ListBuckets`{.action}.
>

```json
{
"Statement":[{
"Sid": "DenyListBucket",
"Effect": "Deny",
"Action":["s3:ListAllMyBuckets"],
"Resource":["*"]
}]
}
```

**Autoriser toutes les opérations sur toutes les ressources d'un projet**

```json
Expand Down Expand Up @@ -176,6 +194,7 @@ Quelques exemples de fichiers de configuration JSON :
| s3:GetObjectRetention | Object |
| s3:GetObjectTagging | Object |
| s3:GetReplicationConfiguration | Bucket |
| s3:ListAllMyBuckets | Bucket |
| s3:ListBucket | Bucket |
| s3:ListBucketMultipartUploads | Bucket |
| s3:ListMultipartUploadParts | Object |
Expand Down