Skip to content
This repository was archived by the owner on Aug 15, 2026. It is now read-only.

Configuration value should be read from environment variable #16

Description

@shahariaazam

Directly adding configuration secret in the yaml file can be less secure. In that case, we may think to read the specific configuration secret from env.

One idea:

source:
  my_org_s3_bucket_eu:
    type: aws_s3
    configuration:
      access_key: "env(AWS_ACCESS_KEY)"
      secret_key: "env(AWS_SECRET_KEY)"
      session_token: "xxxx"
      region: "x"
      account_id: "xxx"

So, we can be able to read AWS_ACCESS_KEY from environment variable and re-assign the value to configuration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions