Pisum.Dataprotection.Azure (1.18.0)
Published 2026-04-14 14:55:02 +02:00 by mschnecke
Installation
dotnet nuget add source --name pisum --username your_username --password your_token dotnet add package --source pisum --version 1.18.0 Pisum.Dataprotection.AzureAbout this package
ASP.NET Core Data Protection Library.
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