Document swapping out the client cache for increase performance

Created on 8 November 2024, about 1 month ago

Problem/Motivation

The Vault client read/token cache is injected using standard container injection. For security our default cache is a memory array that that is purged on destruction.

Authenticating each time the VaultClient is initialized can take a significant amount of time (and place unnecessary load on the Vault server).

A site owner may override the cache service class converting from an in-memory backend to persistent storage..

Steps to reproduce

Proposed resolution

Document using a local services.yml to override cache type.
Provide links to Symfony documentation of cache types.
Educate about known risks of changing cache types (auth token, and secrets stored in cleartext) so that site owners can make an informed decision regarding safety of converting cache.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

3.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024