-
Couldn't load subscription status.
- Fork 9
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Requirement
Additionally to reading properties from files, properties should be read from stdin.
A simple key/value JSON document should be piped to stdin of the buildfed tool.
Example JSON:
{
"prop1": "value1",
"prop2": "value2"
}
If the filename of the --prop parameter is a single dash, properties will be read from stdin.
Use Case
With this feature properties from other sources (e.g. AWS SecretsManager or vault) can be easily passed to the buildfed tool.
Example:
# Use key/values from Hashicorp Vault to build a .fed package
vault kv get -format=json kv/apim | jq .data.data | buildfed -p src/apim.pol -e src/apim.env -c config/gateway.config.json --prop config/gateway.props.json --prop -
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request