Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration value should be read from environment variable #16

Open
shahariaazam opened this issue Apr 2, 2023 · 0 comments
Open

Comments

@shahariaazam
Copy link
Member

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.

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

No branches or pull requests

1 participant