ssm-loader
This project aims to help dump and load AWS SSM parameters.
Usage Example
# One .json file will be generated in your local with all variables
ssm dump "/app/myapp/app-path"
# All variables described will be inputed inside the IAM configured
ssm load -f ssm.json
Dependencies
- Docker
Load file format
The file to use the ssm load command should be in this format.
{
"parameters": [
{
"Name": "param1",
"Value": "value1"
}
]
}
Docker
Build
Now you are ready to build an image from this project Dockerfile.
docker build -t ssm .
Run
After your image has been built successfully, you can run it as a container. In your terminal, run the command docker images to view your images.
# Dump
docker run -rm \
-e AWS_REGION='ap-southeast-2' \
-e AWS_ACCESS_KEY_ID='<your-access-key-id>' \
-e AWS_SECRET_ACCESS_KEY='<your-secret-access-key>' \
ssm dump "/app/myapp/app-path"
# Loading
docker run -rm \
-e AWS_REGION='ap-southeast-2' \
-e AWS_ACCESS_KEY_ID='<your-access-key-id>' \
-e AWS_SECRET_ACCESS_KEY='<your-secret-access-key>' \
ssm load -f ssm.json
Setup development environment
Install dependencies
make build
Run
make run
Test
make test
Lint Flake8
make flake8
Author
App managed by DNX Solutions.
License
Apache 2 Licensed. See LICENSE for full details.
Metadata
Release files for ssm-loader 0.2.4
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 | Actions |
|---|---|---|---|---|
| ssm-loader-0.2.4.tar.gz | 4.0 kB | Without provenance | Details for ssm-loader-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ssm_loader-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for ssm_loader-0.2.4-py3-none-any.whl |
Total release size: 12.6 kB
Release files / ssm-loader-0.2.4.tar.gz
| Download URL | ssm-loader-0.2.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5cba320d979544d2c17a3e2fdb7c9548acd58766dbbdf1f28c4d26c71e1307d
|
|
BLAKE2b-256 checksum How to use checksums |
66ef5e7e627371bf1e4207f979a0b4bee5dbc99ffcf8d352dfcbf28d0467a2cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|
Release files / ssm_loader-0.2.4-py3-none-any.whl
| Download URL | ssm_loader-0.2.4-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f68ca82057f9476457ef134db54e9f186ef0895b364a67b8ada50bf558cffc93
|
|
BLAKE2b-256 checksum How to use checksums |
64e1d4ebf36e2ada30cecd0cb54fa8ed12be68bbf64eec9231f06517bd221ea9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|
Security for ssm-loader 0.2.4
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.