Release v1.2.0
Features
#55: Config Tool - Multiple base directories for certificates
The parameter --base-dir
can be specified multiple times.
The directories will be scanned for certificate files in the given order. If multiple certificate files exists the first one will be used.
#56: Config Tool - Read properties from stdin
If the filename of the --prop
parameter is a single dash -
, stdin will be used to read properties from a flat key/value JSON document.
Example of flat key/value JSON:
{
"prop1": "value1",
"prop2": "value2"
}
This feature can be used to read properties from external sources (e.g. AWS Secrets Manager or Hashicorp Vault).
# Get properties from Vault key/value engine
$ vault kv get -format=json kv/apim/dev | jq -r .data.data | buildfed.sh --prop=- -p src/gw.pol -e src/gw.env -c config/gw.config.json
# Get properties from AWS Secrets Manager
$ aws secretsmanager get-secret-value --secret-id apim/dev | jq -r .SecretString | buildfed.sh --prop=- -p src/gw.pol -e src/gw.env -c config/gw.config.json