如何在模板中保存密码?

How to save the passwords in Template?

我已经创建了用于向 SQL 服务器执行数据移动的模板。

我的问题是'I need to share the template to 100 members who have access to use'.

如果我共享模板,它在 DBCPConnectionPool 中没有敏感值。

有什么方法可以将敏感值保存在模板本身中吗?

模板有意不包含任何被 processor/component 标记为敏感的值。意外暴露敏感值的风险被确定为过高。

我已提交 NIFI-3110 to enable templates to export variable registry references for sensitive property values. Once this is implemented, if you wish to share these, you can reference the Variable Registry 并在用户之间共享时将定义文件包含在模板中。