Create decorator for vault.cache that stores the auth token in a diffrent storage

Created on 12 November 2024, about 1 month ago

Problem/Motivation

It may be desirable store key reads in one storage while storing the authentication token in a different storage (read cache in memory and authentication token in APCU) to avoid storage fragmentation or apply different security measures.

Steps to reproduce

N/A

Proposed resolution

Add a decorator for the 'vault.cache' service that will send the authenticaton token (as used by the underlying client) to one cache and all remaining tokens to another.

Remaining tasks

User interface changes

None

API changes

Add new class that will take existing `vault.cache` as an inner service and a second cache for the admin token.

Data model changes

None

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024