AWS SSM parameter store client that constructs nested dictionary out of hierarchical path
Project description
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 = param_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 =)
License
See the LICENSE file for license rights and limitations (Apache License, Version 2.0)
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
Close
Hashes for aws-parameter-store-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7280e7ebc4950ed689f5f587a5c1bf7113cfc3dde9ebb0dd40dd522240dc324 |
|
MD5 | e18cb348b18f9c5dceab55c1ce672608 |
|
BLAKE2b-256 | 8fce5ff26cb19eb66def0189d2dd9d40f09127fd506dffbfbc1a4b4439dc8caa |