pablopioli / DataProtection.PostgreSQL

An implementation of .NET Data Protection using a PostgreSQL backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Store the keys required by .NET Data Protection library in your PostgreSQL databae.

How to configure:

using DataProtection.PostgreSQL;

builder.Services.AddDataProtection().ProtectKeysWithCertificate(X509Repository.GetCertificate(connectionString));
builder.Services.Configure<KeyManagementOptions>(options => options.XmlRepository = new DataProtection.PostgreSQL.DataProtectionRepository(connectionString));

Available on Nuget as PPioli.DataProtection.PostgreSQL

About

An implementation of .NET Data Protection using a PostgreSQL backend

License:MIT License


Languages

Language:C# 100.0%