Secrets Manager PHP caching



I'm trying to find a good way to cache secrets from Secrets Manager in PHP to avoid calling the SM constantly.

Can anyone suggest a good and easy cache for PHP 8 in Elastic Beanstalk.

Thank you.

1 Answer

Apparently, there are no official examples of caching in PHP. [1] [2]

[1] Retrieve secrets from AWS Secrets Manager - AWS Secrets Manager

[2] Caching mechanism for PHP - Issue #15 - aws/aws-secretsmanager-caching-python

I found an example of caching in PHP on Stack Overflow, but I'm not familiar with PHP, so I'm not sure if this will meet your requirements. [3]

[3] php - F3 Framework: how to make sure that caching is working correctly?

I hope this is helpful.

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions