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

Secret config #16

Open
3 tasks
zero88 opened this issue Feb 5, 2021 · 0 comments
Open
3 tasks

Secret config #16

zero88 opened this issue Feb 5, 2021 · 0 comments

Comments

@zero88
Copy link
Collaborator

zero88 commented Feb 5, 2021

Description

  • Add secret part in NubeConfig (SecretConfig similar to AppConfig)
  • Provide reference variable like: @<part>.<var_name> and in "__secret__" has @secret.<var_name> key. For example:
    {
      "__app__": {
        "password": "@secret.abc"
      },
      "__secret__": {
        "@abc": "<actual_value>"
      }
    }

DOD

  • If ref_var not found, just return and keep it as it is
  • Exclude secret config in logging
  • Work well System properties and Environment variables
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