Keep file contents in sync with matching parameters in AWS Parameter Store
1.9K
Keep file contents in sync with matching parameters in AWS Parameter Store
The docker container exposes /credentials as a volume - this can be shared with other containers or mounted to the local file system
This example checks AWS Parameter Store in the default us-east-1 region every 600 seconds (10 minutes) for parameters containing 'TESTING_'. The credentials in AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are used to access the AWS Parameter Store. The parameter values will be checked against files in the local folder 'credentials-dir' which is mounted into the container at '/credentials'. The credentials used to access the AWS Parameter Store will be saved to /credentials/aws_cli_credentials file with a profile name of 'default' and no (default) region specified.
docker run -d -e "FREQUENCY=600" \
-e "VERBOSE=1" \
-e "AWS_ACCESS_KEY_ID=MY_ACCESS_KEY_ID" \
-e "AWS_SECRET_ACCESS_KEY=MY_SECRET_KEY" \
-e "PARAM_PREFIX=TESTING_" \
-e "SAVE_AWS_CREDS="aws_cli_credentials default None" \
-v credentials-dir:/credentials \
signiant/aws-parameter-syncer
This example checks AWS Parameter Store in the us-west-2 region every 120 seconds (2 minutes) for parameters containing 'TESTING_'. The credentials in AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are used to access the AWS Parameter Store. The parameter values will be checked against files in the container volume '/credentials' which is NOT mounted locally. This volume could be shared with other containers if desired.
docker run -d -e "FREQUENCY=120" \
-e "AWS_ACCESS_KEY_ID=MY_ACCESS_KEY_ID" \
-e "AWS_SECRET_ACCESS_KEY=MY_SECRET_KEY" \
-e "AWS_REGION=us-west-2"
-e "PARAM_PREFIX=TESTING_" \
signiant/aws-parameter-syncer
Content type
Image
Digest
sha256:5219029ca…
Size
73.8 MB
Last updated
over 1 year ago
docker pull signiant/aws-parameter-syncer