Skip to content
Tool for reading and writing Hubs configuration values.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Tool for reading and writing Hubs configuration values. WIP.

This tool coerces all configuration into a tree of values, where each value can either be a string, number, or a list of values. So any richer types in e.g. TOML configuration, like dates, will be stringified upon reading and writing.

Running it

Install dependencies:

$ npm ci

You can use it as a library, or run it on the command line:

# Reads the configuration for the janus-gateway service from AWS Parameter Store
# and pipes it into the local Habitat supervisor for the janus-gateway.default service group
$ ./bin/configtool ps --region=us-west-1 --creds=~/.aws/credentials read janus-gateway | \
  sudo ./bin/configtool hab write janus-gateway.default

To run the Habitat integration, you'll need the hab binary available; to run the AWS integration, you'll need an AWS credentials file to provide.

You can’t perform that action at this time.