AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

AddDataProtection configuration

Open rachelappel opened this issue 10 years ago • 6 comments

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

rachelappel avatar Jun 01 '16 20:06 rachelappel

the parts where you see services.ConfigureDataProtection(...) are the things that are not correct

joeaudette avatar Jun 03 '16 20:06 joeaudette

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

timdows avatar Jun 30 '16 09:06 timdows

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

timdows avatar Jun 30 '16 10:06 timdows

@joeaudette Is there a doc this bug should be attached to?

image

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 avatar Jan 03 '19 21:01 Rick-Anderson

@Rick-Anderson this can be closed for sure

joeaudette avatar Jan 04 '19 20:01 joeaudette

@joeaudette Thanks!

Rick-Anderson avatar Jan 04 '19 20:01 Rick-Anderson