Whirr
  1. Whirr
  2. WHIRR-163

Support environment variable interpolation in configuration properties

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3.0
    • Component/s: core
    • Labels:
      None

      Description

      It would be useful to support environment variables in configuration file; to specify cloud credentials, for example. The syntax that Commons Configuration uses is {{

      {env:AWS_ACCESS_KEY_ID}

      }}, although that isn't supported for environment variables until 1.7 which isn't available.

        Activity

        Hide
        Tom White added a comment -

        Patch with a unit test. This could be useful for WHIRR-145, since it allows people to share configuration files without putting credentials in them.

        Show
        Tom White added a comment - Patch with a unit test. This could be useful for WHIRR-145 , since it allows people to share configuration files without putting credentials in them.
        Hide
        Tom White added a comment -

        I've just committed this.

        Show
        Tom White added a comment - I've just committed this.

          People

          • Assignee:
            Tom White
            Reporter:
            Tom White
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development