Add permissions for Multipart uploads

Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com>
This commit is contained in:
Andreas Lindhé 2026-01-30 15:39:55 +01:00
parent 81efbc50ff
commit 313b5cc202

View File

@ -133,9 +133,12 @@ overhead.
Barman Cloud requires the following permissions in the S3 bucket: Barman Cloud requires the following permissions in the S3 bucket:
- [`s3:AbortMultipartUpload`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
- [`s3:DeleteObject`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) - [`s3:DeleteObject`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
- [`s3:GetObject`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) - [`s3:GetObject`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
- [`s3:ListBucketMultipartUploads`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html)
- [`s3:ListBucket`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html) - [`s3:ListBucket`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html)
- [`s3:ListMultipartUploadParts`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
- [`s3:PutObject`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) - [`s3:PutObject`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
Here's an example of what such a bucket policy may look like: Here's an example of what such a bucket policy may look like:
@ -145,9 +148,12 @@ Here's an example of what such a bucket policy may look like:
"Statement": [ "Statement": [
{ {
"Action": [ "Action": [
"s3:AbortMultipartUpload",
"s3:DeleteObject", "s3:DeleteObject",
"s3:GetObject", "s3:GetObject",
"s3:ListBucket", "s3:ListBucket",
"s3:ListBucketMultipartUploads",
"s3:ListMultipartUploadParts",
"s3:PutObject" "s3:PutObject"
], ],
"Effect": "Allow", "Effect": "Allow",