Dropwizard configuration file security

前端 未结 2 512
予麋鹿
予麋鹿 2021-01-14 12:20

A configuration file (.yml) is being used for a rest api developed with Dropwizard (0.9.2 - latest release). Most of the credentials needed by the api such as database passw

2条回答
  •  春和景丽
    2021-01-14 12:56

    I just looked for the solution for the similar issue. I want to find an solution to not include the keystore password in the config file. Finally I got an solution for it.

    Just stored credential keys in the config file. And then use a substitutor to replace the keys with it's related values. But this need a secure key value services to get the values of the keys.

    Overriding server connector config with env variables with dropwizard

提交回复
热议问题