aws-parameter-store
AWS SSM parameter store client that constructs nested dictionary out of hierarchical path
Features
- Gets parameters by path
- Collects all paged results automatically
- Lightweight
Installation
Install with pip:
pip install aws-parameter-store
Getting started
Import the module and create a new instance of AwsParameterStore.
from aws_parameter_store import AwsParameterStore
store = AwsParameterStore('us-east-1')
API
overview
By default
- JSON parameters are being evaluated
- Parameters are decrypted
Examples
Given the parameters:
| Name | Value |
|---|---|
| key-a | wrong |
| example/key-b | flat |
| example/key-c | secret |
| example/path1/path2/key-d | deep |
ret = store.get_parameters_dict('/example/')
assert ret == {
'key-b': 'flat',
'key-c': 'secret',
'path1': { 'path2': { 'key-d': 'deep' } }
}
Requirements
- Python3.6+
Contributing
You are welcome to contribute and join our family =)
Testing
This projects testing uses pytest. Simply test by running pytest
License
See the LICENSE file for license rights and limitations (Apache License, Version 2.0)
Metadata
Release files for aws-parameter-store 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aws-parameter-store-1.0.0.tar.gz | 3.0 kB | Without provenance | Details |
Release files / aws-parameter-store-1.0.0.tar.gz
| Download URL | aws-parameter-store-1.0.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da3db2436668d8550c1bdee551a2a74a8c41111ba95297733b2d06e00c0a0feb
|
|
BLAKE2b-256 checksum How to use checksums |
c2498f304e0ec08c7254ea490ee5304ec6b1c66157c81a612272e7bf7b937e63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.0
|
Security for aws-parameter-store 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.