AE
aereal/prpl
prpl is a tool running command with parameters that stored in AWS SSM Parameter Store.
prpl
prpl = parameters pull tool
prpl is a tool running command with parameters that stored in AWS SSM Parameter Store.
The parameters are exported as environment variables.
Synopsis
If you have parameters such as:
/my-app/staging/creds/id/my-app/staging/creds/password
then run command below and get a result:
prpl -path /my-app/staging env
# CREDS_ID=<ID>
# CREDS_PASSWORD=<PASSWORD>Environment variable named in below rules:
- Remove
-pathvalue from full parameter path- prpl considers
-pathas a prefix and parameters can be unique without common prefix - environment variables names should not have environment name (such as
staging) for convinience- parameters typically have environment in prefix
- the app may refers environment variables such as
CREDS_IDnotMY_APP_STAGING_CREDS_ID
- prpl considers
- Replace all characters except for alphabets or numbers with underscore (
_) - Convert characters to upper cases
Installation
go install github.com/aereal/prpl/cmd/prplMotivation
prpl is largely inspired by ssmwrap.
prpl have less options to take ease of use.
License
See LICENSE file.
On this page
Languages
Go100.0%
Latest Release
v0.1.0September 8, 2021MIT License
Created September 7, 2021
Updated October 12, 2021