Skip to content

Support using environment variables in configuration files #36

@forman

Description

@forman

When loading configurations from JSON or YAML files, it should be possible to reference environment variables and insert their current values, for example

{
  "slice_storage_options": {
    "key": "${CREODIAS_S3_KEY}",
    "secret": "${CREODIAS_S3_SECRET}"
   }
}

Or using YAML

slice_storage_options:
  key: ${CREODIAS_S3_KEY}
  secret: ${CREODIAS_S3_SECRET}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions