S3/Cloudfront Media Provider for Piranha CMS
S3/Cloudfront Media Provider for Piranha CMS.
Version | Status |
---|---|
Latest | |
Master | |
Pre-Release | |
Release |
The S3 File Storage for Piranha CMS operates much the same as Local File Storage or Azure Blob Storage. You register S3 File Storage with the default configuration in ConfigureServices()
with the following code:
var storageConfig = new S3StorageConfiguration
{
BucketName = "my-bucket-name",
PublicUrlRoot = ""http://domain-to-my-bucket or https://my-cloudfront-bucket-distribution"
};
services.AddS3Storage(storageConfig);
Documentation on how to use the Flagscript.Piranha.Aws.S3Storage library is available within this repository.
Flagscript.PiranhaCms.Aws.S3Storage is available as a NuGet package:
> dotnet add package Flagscript.PiranhaCms.Aws.S3Storage --version 1.0.1
<PackageReference Include="Flagscript.PiranhaCms.Aws.S3Storage" Version="1.0.1" />
Although contributions for this project are not yet open, please read
CONTRIBUTING
for details on our code of conduct.
We use SemVer for versioning. For the versions available, see
the tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details.