Secrets Manager PHP caching

0

Hello.

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.

TP-user
질문됨 2년 전759회 조회
1개 답변
0

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

[1] Retrieve secrets from AWS Secrets Manager - AWS Secrets Manager
https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html

[2] Caching mechanism for PHP - Issue #15 - aws/aws-secretsmanager-caching-python
https://github.com/aws/aws-secretsmanager-caching-python/issues/15

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?
https://stackoverflow.com/questions/69310949/f3-framework-how-to-make-sure-that-caching-is-working-correctly

I hope this is helpful.

profile picture
mn87
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠