AddDataProtection configuration
Missing parts on custom crypto
From @joeaudette: Need to document alternatives for certificates and custom crypto. Some of the crypto stuff is available as methods but maybe need different params
@blowdart
the parts where you see services.ConfigureDataProtection(...) are the things that are not correct
So in the new RC2 and RTM version most can be done under services.AddDataProtection(). But I miss the ProtectKeysWithCertificate option.
Is there a solution to use X509Certificate2 with AddDataProtection?
Latest version of the docs https://docs.asp.net/en/latest/hosting/dataprotection.html, state:
In addition a developer may choose to protect keys at rest using an X509 certificate
Note: Have to admit that I am using NETCoreApp, Version=v1.0 The docs mention that this is not yet available https://docs.asp.net/en/latest/security/data-protection/implementation/key-encryption-at-rest.html
But if there is a workaround, I would love to use it for the time being
@joeaudette Is there a doc this bug should be attached to?

the parts where you see
services.ConfigureDataProtection(...)are the things that are not correct
Which doc is that in?
What's the ask here? Can this be closed?
@Rick-Anderson this can be closed for sure
@joeaudette Thanks!