repository
0.0.0-20240816050935-28cc666968d8
Repository: https://github.com/linecard/entry.git
Documentation: pkg.go.dev
# README
entry
Entry provides a simple solution for managing application configuration during any phase of the development lifecycle.
Usage
CLI
./entry -p /path/to/env -- env
Dockerfile
FROM scratch
COPY --from=ghcr.io/linecard/entry:latest /ko-app/entry /opt/entry
ENTRYPOINT ["/opt/entry", "-p", "/path/to/env", "--"]
CMD ["env"]
Storing Environment
Entry assumes the usage of AWS SSM as the backing data store for your environments.
SSM Parameter
- 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"
}
Caller Permissions
- 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/*"
]
}