![]() |
VOOZH | about |
dotnet add package Plinth.Storage.AWS --version 1.8.1
NuGet\Install-Package Plinth.Storage.AWS -Version 1.8.1
<PackageReference Include="Plinth.Storage.AWS" Version="1.8.1" />
<PackageVersion Include="Plinth.Storage.AWS" Version="1.8.1" />Directory.Packages.props
<PackageReference Include="Plinth.Storage.AWS" />Project file
paket add Plinth.Storage.AWS --version 1.8.1
#r "nuget: Plinth.Storage.AWS, 1.8.1"
#:package Plinth.Storage.AWS@1.8.1
#addin nuget:?package=Plinth.Storage.AWS&version=1.8.1Install as a Cake Addin
#tool nuget:?package=Plinth.Storage.AWS&version=1.8.1Install as a Cake Tool
Storage Provider for Plinth.Storage to write blob data to AWS S3
Enables storing the blob data used by Plinth.Storage in AWS S3
This package adds these extension methods to Plinth.Storage.StorageFactory to utilize S3
storageFactory.AddS3Provider(new S3Settings()
{
BucketName = "my-s3-bucket",
S3Url = "https://s3.us-west-1.amazonaws.com",
ClientId = "{aws-client-id}",
ClientSecret = "{aws-client-secret}"
});
storageFactory.SetDefaultWriteProviderAsS3();
By default, this will write blobs to the root of the container. There are 2 other built in options for further segmenting the blobs. To use these, set DefaultIndexStrategy in S3Settings
DefaultIndexStrategy.ByDate
This will place the blobs in a sub folder with the current date as /YY/MM/DD/{blobId}
DefaultIndexStrategy.ByDateTime
This will place the blobs in a sub folder with the current date and current hour as /YY/MM/DD/HH/{blobId}
Alternatively, a custom indexing strategy can be provided. For example, the below will place the blobs under a folder named the first character of the blob's guid.
new S3Settings()
{
...
CustomIndexStrategy = blob => $"{blob.Guid!.ToString()![0]}"
}
By default, blobs will be written to the bucket specified. This library supports writing a backup to other buckets
To enable, use storageFactory.AddBackupS3Provider(settings) with a complete S3Settings object. Blobs will be written to the bucket specified (using the primary index).
If you prefer not to supply the ClientId/ClientSecret but instead use the IAM authentication available on AWS infrastructure, set UseSystemAuth to true in S3Settings instead.
By default, the blobs will a file extension in blob storage which come from the blob name field. This allows for browsers to more easily download those files directly.
To disable this, set DisableBlobExtensions to true in S3Settings and the blobs will not have a file extension.
By default, S3 blobs are private and require authentication to access. If anonymous access to the files is desired, set AllowPublicRead to true in S3Settings to enable Public Read access to the blobs. You must also enable public access at the bucket level for this to work.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.8.1 | 540 | 12/11/2025 |
| 1.8.0 | 340 | 11/13/2025 |
| 1.8.0-b211.72089fd9 | 275 | 11/12/2025 |
| 1.7.4 | 357 | 8/6/2025 |
| 1.7.3 | 152 | 8/2/2025 |
| 1.7.2 | 328 | 3/16/2025 |
| 1.7.1 | 293 | 12/12/2024 |
| 1.7.0 | 264 | 11/12/2024 |
| 1.6.6 | 267 | 11/8/2024 |
| 1.6.5 | 263 | 8/31/2024 |
| 1.6.4 | 234 | 8/2/2024 |
| 1.6.3 | 253 | 5/15/2024 |
| 1.6.2 | 293 | 2/16/2024 |
| 1.6.1 | 2,806 | 1/5/2024 |
| 1.6.0 | 297 | 11/30/2023 |
| 1.5.10-b186.aca976b4 | 152 | 11/30/2023 |
| 1.5.9 | 268 | 11/29/2023 |
| 1.5.9-b174.64153841 | 152 | 11/23/2023 |
| 1.5.9-b172.dfc6e7bd | 170 | 11/17/2023 |
| 1.5.9-b171.4e2b92e2 | 166 | 11/4/2023 |
net10.0 support