From d6ae738e875af340a69df8b5b5ed1f45c373a6ea Mon Sep 17 00:00:00 2001 From: Allan Roger Reid Date: Wed, 12 Feb 2025 06:33:07 -0800 Subject: [PATCH] Add batch replication specific actions to source user policy (#1414) #### Issue Batch replication requires specific actions to be performable by the source user, including: ``` "admin:ListBatchJobs", "admin:DescribeBatchJob", "admin:StartBatchJob", "admin:CancelBatchJob" ``` This PR suggests them in the batch replication example provided in the docs. @poornas Please correct me if needed. This allowed the documentation to be followed smoothly, with a resultant successful batch replication job being spawned. --- source/extra/examples/ReplicationAdminPolicy.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/extra/examples/ReplicationAdminPolicy.json b/source/extra/examples/ReplicationAdminPolicy.json index 59586037..10c2314e 100644 --- a/source/extra/examples/ReplicationAdminPolicy.json +++ b/source/extra/examples/ReplicationAdminPolicy.json @@ -4,7 +4,11 @@ { "Action": [ "admin:SetBucketTarget", - "admin:GetBucketTarget" + "admin:GetBucketTarget", + "admin:ListBatchJobs", + "admin:DescribeBatchJob", + "admin:StartBatchJob", + "admin:CancelBatchJob" ], "Effect": "Allow", "Sid": "EnableRemoteBucketConfiguration"