Created
December 10, 2019 19:39
-
-
Save bademux/b56e8e184ee472611744dc6e3971c4ea to your computer and use it in GitHub Desktop.
Minimal policy that can be user to setup s3 bcket as maven repo with org.springframework.build:aws-maven maven plugin how to info: https://tech.asimio.net/2018/06/27/Using-an-AWS-S3-Bucket-as-your-Maven-Repository.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetBucketPolicyStatus", | |
"s3:GetBucketPublicAccessBlock", | |
"s3:ListBucketMultipartUploads", | |
"s3:ListBucketVersions", | |
"s3:ListBucket", | |
"s3:GetBucketVersioning", | |
"s3:GetBucketAcl", | |
"s3:GetBucketPolicy", | |
"s3:ListMultipartUploadParts", | |
"s3:PutObject", | |
"s3:GetObjectAcl", | |
"s3:GetObject", | |
"s3:AbortMultipartUpload", | |
"s3:GetBucketCORS", | |
"s3:GetObjectVersionAcl", | |
"s3:PutBucketAcl", | |
"s3:GetObjectVersionForReplication", | |
"s3:GetBucketLocation", | |
"s3:PutObjectAcl", | |
"s3:GetObjectVersion" | |
], | |
"Resource": [ | |
"arn:aws:s3:::my-bucket/*", | |
"arn:aws:s3:::my-bucket" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment