publishTo
as it’s written in the plugin’s readme: https://github.com/ohnosequences/sbt-s3-resolver#publishing
S3Resolver.defaults
0.13.0
, but it's not released yet
import com.amazonaws.auth._
s3credentials :=
new AWSCredentialsProvider {
def getCredentials(): AWSCredentials = new BasicAWSCredentials("bar", "buh")
def refresh(): Unit = {}
}
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::xxxx"
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::xxxx/*"
}
]
}