Convection Secrets Store Plugin for Generic Key-Value Store
Project description
Convection Plugin - Secrets - Generic
Generic Secrets Storage (Key/Value Store)
Physical Storage
If the Secret Store Name contains slashes, it is assumed as a path, and placed as $STORAGE_ROOT/$STORE_NAME
(ex: (/data)/(my/secret/store)
). If it does not contain slashes, it is stored at $STORAGE_ROOT/secrets/$STORE_NAME
(ex (/data)/(my.secret.store)
)
Data is stored all in a single file.
Data Format
{
"metadata": { <plugin metadata> },
"config": { <configuration data> },
"store": { <secrets in k:v form>},
"stats": {
"reads": <number of reads performed since creation>,
"writes": <number of writes performed since creation>
}
}
Note that the Stats data for Reads may not be accurately represented if a number reads happen, but a write does not occur before the Convection Secrets Manager is shutdown/restarted. These stats are held in memory until a write occurs, and so the stat for reads since the last write would be lost on stop/restart. Write stat should always be accurate. The Read stat will be accurate for the duration of the service running (assuming no writes), however.
Secret Store Args
These arguments are required when a new Generic Store is created.
TBD
Secrets Args
Create/Modify
secret_name
: Name of Secret to Create/Modifysecret_value
: Secret Data
Get/Destroy
secret_name
: Name of Secret to View/Destroy
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
Built Distribution
File details
Details for the file convection-plugin-secrets-generic-1.0.0.tar.gz
.
File metadata
- Download URL: convection-plugin-secrets-generic-1.0.0.tar.gz
- Upload date:
- Size: 56.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0118c0798235c348d6649fb1567b69ffbed627045f78960bcc29cb5db2eaa8d1 |
|
MD5 | fd7a879eadb8153c20f63e951e024fb3 |
|
BLAKE2b-256 | 9247fee14702c3208577a9dcb737eb90960bf73e56ae699f3802b032d0f5b55b |
File details
Details for the file convection_plugin_secrets_generic-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: convection_plugin_secrets_generic-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a9f18e80721a3eb6820715e915f1347e77786980239bebdc1f373af7bee6b2 |
|
MD5 | 42ac0312324c3eace64bea57347790f2 |
|
BLAKE2b-256 | 725235435504d87644d1f87069a00868fd05b73b23e0da3f28535482ee9e2ddd |