有哪些选项可以保护Corda中的数据库密码? [英] What Options Are There To Protect Database Passwords In Corda?
问题描述
Corda数据库密码默认情况下以纯文本格式存储在node.conf中:
The Corda database password is stored in the node.conf in plain text by default:
https://docs.corda.net/head/node-database.html
可以使用哪些选项来避免这种情况?
What options are available to avoid this?
例如可以使用jasypt或将值存储在环境变量或云存储系统中吗?
e.g. can you use jasypt or store the value in an environment variable or a cloud vault system?
是否有可用的示例/示例?
Are there samples/examples available?
推荐答案
可以使用环境变量或JVM参数覆盖node.conf设置,有关更多信息,请参见此处:
it is possible to override node.conf settings using Environment variables or JVM arguments, see here for more info: https://docs.corda.net/corda-configuration-file.html#overriding-values-from-node-conf
Corda企业版还附带一个配置混淆器工具,可用于加密设置: https://docs.corda.r3.com/tools-config-obfuscator.html
The Enterprise version of Corda also ships with a configuration obfuscator tool which can be used to encrypt settings: https://docs.corda.r3.com/tools-config-obfuscator.html
这篇关于有哪些选项可以保护Corda中的数据库密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!