From f9022412997a8a51c076a223eafe9564fd754690 Mon Sep 17 00:00:00 2001 From: Harshil Agrawal Date: Tue, 3 Dec 2024 17:32:10 +0530 Subject: [PATCH 1/2] Add more targetted AWS policy for Sippy --- src/content/docs/r2/data-migration/sippy.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/r2/data-migration/sippy.mdx b/src/content/docs/r2/data-migration/sippy.mdx index 51fdae0f28db86..8776b925c404f1 100644 --- a/src/content/docs/r2/data-migration/sippy.mdx +++ b/src/content/docs/r2/data-migration/sippy.mdx @@ -245,7 +245,7 @@ To create credentials with the correct permissions: "Statement": [ { "Effect": "Allow", - "Action": ["s3:Get*", "s3:List*"], + "Action": ["s3:GetObject", "s3:ListObject", "s3:HeadObject"], "Resource": ["arn:aws:s3:::", "arn:aws:s3:::/*"] } ] From a067419a6f62492115b01db2e8bca08370b908df Mon Sep 17 00:00:00 2001 From: Harshil Agrawal Date: Tue, 3 Dec 2024 18:30:41 +0530 Subject: [PATCH 2/2] update AWS policy --- src/content/docs/r2/data-migration/sippy.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/r2/data-migration/sippy.mdx b/src/content/docs/r2/data-migration/sippy.mdx index 8776b925c404f1..6e8babcb5f01f8 100644 --- a/src/content/docs/r2/data-migration/sippy.mdx +++ b/src/content/docs/r2/data-migration/sippy.mdx @@ -245,8 +245,8 @@ To create credentials with the correct permissions: "Statement": [ { "Effect": "Allow", - "Action": ["s3:GetObject", "s3:ListObject", "s3:HeadObject"], - "Resource": ["arn:aws:s3:::", "arn:aws:s3:::/*"] + "Action": ["s3:GetObject"], + "Resource": ["arn:aws:s3:::/*"] } ] }