Entry provides a simple solution for managing application configuration during any phase of the development lifecycle.
./entry -p /path/to/env -- env
FROM scratch
COPY --from=ghcr.io/linecard/entry:latest /ko-app/entry /opt/entry
ENTRYPOINT ["/opt/entry", "-p", "/path/to/env", "--"]
CMD ["env"]
Entry assumes the usage of AWS SSM as the backing data store for your environments.
- The parameter type shall be of type Secret String.
- The parameter value shall be of JSON format.
- The parameter JSON schema shall be of the form...
{
"ENVAR_1": "value_1",
"ENVAR_2": "value_2"
}
- The caller shall have AWS credentials available to the credential provider chain.
- The caller shall have permissions akin to the following...
{
"sid": "ssmAccess",
"effect": "Allow",
"action": [
"ssm:GetParameter",
"kms:Decrypt"
],
"resource": [
"arn:aws:ssm:${AWS_ACCOUNT_REGION}:${AWS_ACCOUNT_ID}:parameter/*"
]
}