Commits (3)
......@@ -213,7 +213,7 @@ namespace Coscine.ResourceTypeWaterbutlerRdsS3
BucketName = id,
Policy = policy
};
var amazonConfig = new AmazonS3Config
{
ServiceURL = options["endpoint"],
......@@ -365,7 +365,13 @@ namespace Coscine.ResourceTypeWaterbutlerRdsS3
""Effect"": ""Allow"",
""Resource"": [""{bucketname}/*""],
""Principal"": [""{writeKey}"", ""{accessKey}"",""{accessKeyRead}""]
}}
}},
{{
""Action"": [""s3:PutObject"", ""s3:DeleteObject"", ""s3:DeleteObjectVersion""],
""Effect"": ""Deny"",
""Resource"": [""{bucketname}/*""],
""Principal"": [""{writeKey}"", ""{accessKey}"",""{accessKeyRead}""]
}},
]
}}";
}
......
......@@ -4,7 +4,7 @@
<RootNamespace>Coscine.ResourceTypeWaterbutlerRdsS3</RootNamespace>
<AssemblyName>Coscine.ResourceTypeWaterbutlerRdsS3</AssemblyName>
<TargetFramework>net5.0</TargetFramework>
<Version>1.4.1</Version>
<Version>1.4.2</Version>
</PropertyGroup>
<PropertyGroup>
<Authors>RWTH Aachen University</Authors>
......