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

Add support for .env variables in the configuration #450

Closed
basmasking opened this issue Jan 26, 2024 · 0 comments · Fixed by #455
Closed

Add support for .env variables in the configuration #450

basmasking opened this issue Jan 26, 2024 · 0 comments · Fixed by #455
Assignees
Labels
feature New feature or request

Comments

@basmasking
Copy link
Member

In story #448 protected procedures are introduced. To execute these procedures, a shared secret is required. This secret is currently set in the services configuration as plain text. This is not a secure way to store the keys, so we want to be able to use environment variables in the configuration file. The config would look like:

"node"
{
    "secret": "${NAME_OF_ENV_VARIABLE}"
}

It should still be possible to set a string value in the configuration.

@basmasking basmasking added feature New feature or request runtime labels Jan 26, 2024
@petermasking petermasking changed the title Use .env file to set secret for protected procedure access Add support for .env variables in the configuration Jan 30, 2024
@basmasking basmasking self-assigned this Jan 30, 2024
basmasking added a commit that referenced this issue Jan 31, 2024
The .env variables are not supported in these versions
basmasking added a commit that referenced this issue Jan 31, 2024
basmasking added a commit that referenced this issue Jan 31, 2024
basmasking added a commit that referenced this issue Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant