Vault

Store reusable variables and reference them from your configurations.

The vault stores reusable values that your configurations need, so a value lives in one place instead of being repeated across configs. Open Vault from the navigation. The vault is personal to your account.

Variables

Variables are reusable text values, such as URLs, hostnames, and environment names. Each variable has a name, a reference, and a value. The value is hidden in the table by default and can be revealed.

To add one, select Add Variable, then set a name and value.

Reference a variable

Reference a variable from a configuration field with # followed by its reference name, for example #PROD_API_URL. When Telflo generates the YAML, the variable's value is substituted directly in place of the reference. Update the value once in the vault, and every configuration that references it uses the new value.

A variable's value is substituted directly into the configuration, so it appears in the generated YAML. For credentials such as API keys and tokens, reference an environment variable in the config instead, with ${env:NAME}, so the value comes from the host environment and is not stored in the configuration.

Last updated on

On this page