Pisum.Dataprotection.FileSystem (1.18.0)
Published 2026-04-14 14:55:03 +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.FileSystemAbout this package
ASP.NET Core Data Protection Library.
Pisum.Dataprotection.FileSystem
ASP.NET Core Data Protection key storage using the local file system.
Installation
dotnet add package Pisum.Dataprotection.FileSystem
Usage
builder.Services.AddDataProtection()
.ConfigureDataProtection(configuration.GetSection("DataProtection"))
.ConfigureDataProtectionFileSystem(configuration.GetSection("FileSystem"));
Configuration
{
"DataProtection": {
"ApplicationName": "MyApp"
},
"FileSystem": {
"Path": "/var/dataprotection/keys"
}
}
Supported Frameworks
- .NET 8.0
- .NET 9.0
- .NET 10.0