Secrets¶
paystone.secrets
is perhaps the simplest of the Paystone packages. It has one primary export: PSSecretManager
. This class can do two things:
- Get the value of a secret given a name and version (defaulting to the latest version).
- List the available secrets.
The values of secrets are cached in memory after get
retrieval in an LRU cache.