Skip to content

Commit

Permalink
Add write permission to SAS
Browse files Browse the repository at this point in the history
  • Loading branch information
bookbotdev committed Jun 11, 2021
1 parent 88330f9 commit c931152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Authentication/Shared/Services/StorageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Uri CreateSASUri()
ExpiresOn = DateTimeOffset.UtcNow.AddDays(1)
};

sasBuilder.SetPermissions(BlobContainerSasPermissions.Create);
sasBuilder.SetPermissions(BlobContainerSasPermissions.Create | BlobContainerSasPermissions.Write);
return containerClient.GenerateSasUri(sasBuilder);
}
}
Expand Down

0 comments on commit c931152

Please sign in to comment.