Simple secret server for python
Project description
The ox_secrets package provides a simple secret server for python. You can use simple file based secret storage in development and testing and then add more sophisticated secret storage in production. Similarly, you can use it to switch which type of secret manager you are using by changing only the mode for ox_secerts without having to re-write the rest of your code.
Think of it similar to an ORM for secrets.
Currently, the following back ends are supported:
fss: File secret server
Reads secrets from a local file.
Useful for development and testing.
evs: Environment variable server.
While other modes back ends can use environment variables to override, this mode ONLY looks at environment variables.
aws: Uses the AWS Secret Manager or AWS Parameter Store
By default the aws back-end will use the AWS Secrets Manager. If you want to use the parameter store instead, provide service_name='ssm'.
The main secret server can merge and cache secrets from multiple back-ends in case your secrets are split across various places.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ox_secrets-0.3.6.tar.gz
.
File metadata
- Download URL: ox_secrets-0.3.6.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a46ec1852987cd452116574b06dd7aa628225abdd78ca62fd4961f1e964c04 |
|
MD5 | c2b9d9be64bb96ff4575b34a17e3b365 |
|
BLAKE2b-256 | 27833bc4b4e452bc3909192f2c623da6a7cf79df076655d36d78bd1a9ebfcf92 |