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

Fetching config from system variables #36

Open
mahimatiwary025 opened this issue Feb 28, 2022 · 1 comment
Open

Fetching config from system variables #36

mahimatiwary025 opened this issue Feb 28, 2022 · 1 comment

Comments

@mahimatiwary025
Copy link

I want to fetch the values for AWS credentials from my system variables which currently I am not able to achieve. Something like this:

${AWS_DEFAULT_REGION}

where AWS_DEFAULT_REGION is a system variable. Ultimately, while deploying, this value, along with AWS access and secret key is to be fetched from bitbucket secrets. But currently, for local testing, I have these as system variables.

Is it possible with this library?

@dnovitski
Copy link
Contributor

Your example already works since logback supports system env variable injection

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

No branches or pull requests

2 participants