Pisum.Dataprotection.Azure 1.15.0
Pisum.Dataprotection.Azure
ASP.NET Core Data Protection key storage using Azure Blob Storage with Azure Key Vault encryption.
Installation
dotnet add package Pisum.Dataprotection.Azure
Usage
builder.Services.AddDataProtection()
.ConfigureDataProtection(configuration.GetSection("DataProtection"))
.ConfigureDataProtectionAzure(configuration.GetSection("Azure"));
Configuration
{
"DataProtection": {
"ApplicationName": "MyApp"
},
"Azure": {
"BlobStorage": {
"ConnectionString": "your-blob-connection-string",
"ContainerName": "dataprotection",
"BlobName": "keys.xml"
},
"KeyVault": {
"KeyIdentifier": "https://your-vault.vault.azure.net/keys/dataprotection-key"
}
}
}
Supported Frameworks
- .NET 8.0
- .NET 9.0
- .NET 10.0
No packages depend on Pisum.Dataprotection.Azure.
.NET 8.0
- Pisum.Dataprotection.Shared (>= 1.15.0)
- Azure.Extensions.AspNetCore.DataProtection.Blobs (>= 1.5.1)
- Azure.Extensions.AspNetCore.DataProtection.Keys (>= 1.6.1)
- Azure.Identity (>= 1.17.1)
.NET 9.0
- Pisum.Dataprotection.Shared (>= 1.15.0)
- Azure.Extensions.AspNetCore.DataProtection.Blobs (>= 1.5.1)
- Azure.Extensions.AspNetCore.DataProtection.Keys (>= 1.6.1)
- Azure.Identity (>= 1.17.1)
.NET 10.0
- Pisum.Dataprotection.Shared (>= 1.15.0)
- Azure.Extensions.AspNetCore.DataProtection.Blobs (>= 1.5.1)
- Azure.Extensions.AspNetCore.DataProtection.Keys (>= 1.6.1)
- Azure.Identity (>= 1.17.1)