Skip to content

AspNetCore.DataProtection ProtectKeysWithCertificate rotation mechanism #40145

Open
@msschl

Description

@msschl

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Protecting keys at rest is a good practice and is often done via the ProtectKeysWith... methods like ProtectKeysWithCertificate.
However, protecting the keys with for example ProtectKeysWithCertificate and an X509Certificate2 keeps the problem of rotating the certificate used for protecting the keys at rest. Is there a good pattern or some documentation on this topic on how to proceed with rotation certificates used for key protection at rest without restarting the application?

Describe the solution you'd like

Some docs or a API to configure propper certificate rotation for the protection of key in rest.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsThis issue tracks updating documentationarea-dataprotectionIncludes: DataProtectionnet8_docathonThis issue is part of the documentation push in Fall 2023.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions