Skip to content

Commit

Permalink
Merge branch 'main' into renovate/workflows-group
Browse files Browse the repository at this point in the history
  • Loading branch information
rdash99 authored Jul 23, 2024
2 parents e9371c0 + 154bc1e commit 37950d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BL/Services/MinioHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public async Task<bool> CreateBucketPolicy(string bucketName)

var signer = new AWS4RequestSigner(_minioSettings.AccessKey, _minioSettings.SecretKey);

var content = new StringContent("{\r\n \"Version\": \"2012-10-17\",\r\n \"Statement\": [\r\n {\r\n \"Effect\": \"Allow\",\r\n \"Action\": [\r\n \"s3:List*\",\r\n \"s3:ListBucket\",\r\n \"s3:PutObject\",\r\n \"s3:DeleteObject\",\r\n \"s3:GetBucketLocation\"\r\n ],\r\n \"Resource\": [\r\n \"arn:aws:s3:::" + bucketName + "\"\r\n ]\r\n }\r\n ]\r\n}", null, "application/json");
var content = new StringContent("{\r\n \"Version\": \"2012-10-17\",\r\n \"Statement\": [\r\n {\r\n \"Effect\": \"Allow\",\r\n \"Action\": [\r\n \"s3:List*\",\r\n \"s3:ListBucket\",\r\n \"s3:PutObject\",\r\n \"s3:DeleteObject\",\r\n \"s3:GetBucketLocation\",\r\n \"s3:GetObject\"\r\n ],\r\n \"Resource\": [\r\n \"arn:aws:s3:::" + bucketName + "\",\r\n \"arn:aws:s3:::" + bucketName + "/*\"\r\n ]\r\n }\r\n ]\r\n}", null, "application/json");

var request = new HttpRequestMessage
{
Expand Down

0 comments on commit 37950d3

Please sign in to comment.