Interface SystemVariableResolver


public interface SystemVariableResolver
Substitutes environment variables into config values, so secrets such as tokens and database passwords need not be written into the files.
  • Method Summary

    Modifier and Type
    Method
    Description
    Replaces every environment variable reference in the text with its value.
  • Method Details

    • substituteEnvVars

      String substituteEnvVars(String text)
      Replaces every environment variable reference in the text with its value.
      Parameters:
      text - the raw config value
      Returns:
      the text with variables substituted