Skip to content

Allow option for DataProtection keys to not be cached #43500

Open
@maganuk

Description

@maganuk

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.

I have a multi-tenant application where I would like for each tenant to have their own data protection keys which are saved in a DB. I find that there is no way to do this (without writing my own DataProtectionProvider) since the keys are always cached. Even if I were to write my own XML Repository, I am unable to use it on a per-request basis as the keys are already valid for a period of 24 hours.

Describe the solution you'd like

Provide an option to not cache keys so that it may be possible for developers to use their own cache and resolve keys on a per request basis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dataprotectionIncludes: DataProtectionenhancementThis issue represents an ask for new feature or an enhancement to an existing one

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions