Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching mechanism for PHP #15

Closed
liaogz82 opened this issue Sep 13, 2019 · 3 comments

Comments

@liaogz82
Copy link

@liaogz82 liaogz82 commented Sep 13, 2019

Hi, is there similar caching libraries for secretsmanage but is for PHP?

@eddielou

This comment has been minimized.

Copy link
Contributor

@eddielou eddielou commented Sep 13, 2019

Not at the moment. We currently have caching libraries available for Java, Go, C#, and Python. We have plans to release a caching library for PHP in the future, but we don't have a timeline for this yet.

@liaogz82

This comment has been minimized.

Copy link
Author

@liaogz82 liaogz82 commented Sep 14, 2019

How do I cache it in a meantime while waiting for your PHP library to be up?

@eddielou

This comment has been minimized.

Copy link
Contributor

@eddielou eddielou commented Sep 17, 2019

You could create a basic implementation of a Secret Cache, where you store the last known good value. If the last known good value of the secret doesn't work, then use GetSecretValue to retrieve the new good value.

Unfortunately, we don't have any PHP libraries that can offer similar functionality right now.

@eddielou eddielou closed this Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.