DEV Community

kibblewhite
kibblewhite

Posted on

A cause for celebration...

I've found a small project which hasn't been developed on yet.

An IDataProtection provider using Google's Firebase:

I'm happy that I've managed to find a small project that hasn't already been done.

To use it is pretty straight forwards, get your project id and the json credentials file from GCP (Google Cloud Platform) for your Firebase Database and you are ready to rock.

In code usage "could" looks like this:

public void ConfigureServices(IServiceCollection services)
{
    service_container.AddDataProtection()
        .PersistKeysToFirebase(service_name);

    services.AddMvc();
}
Enter fullscreen mode Exit fullscreen mode

Rest of the details are in the README.md

p.s. The reason why this is a cause for celebration, is because this is offically my first personal nuget package/open source contribution.

Top comments (0)