Update s3_user_policy.md (#570)

fix AWS S3 user's policy configuration issue https://github.com/remotely-save/remotely-save/issues/564
This commit is contained in:
Hamza Megahed
2024-03-30 14:55:06 +08:00
committed by GitHub
parent dcd02457cb
commit 222f386586
@@ -33,6 +33,7 @@ Using the principle of least privilege is crucial for security when allowing a t
"Effect": "Allow",
"Action": [
"s3:HeadObject",
"s3:ListBucket",
"s3:PutObject",
"s3:CopyObject",
"s3:UploadPart",
@@ -48,7 +49,10 @@ Using the principle of least privilege is crucial for security when allowing a t
"s3:DeleteObject",
"s3:DeleteObjects"
],
"Resource": "arn:aws:s3:::my-bucket/*"
"Resource": [
"arn:aws:s3:::my-bucket",
"arn:aws:s3:::my-bucket/*"
]
}
]
}