feat(NodeRED): use env var 'NODE_RED_CREDENTIAL_SECRET' for credential key

!1
This commit is contained in:
2023-08-11 10:41:20 +09:30
parent 0496e7de7a
commit 80cb70b75a

View File

@ -41,7 +41,7 @@ module.exports = {
* node-red from being able to decrypt your existing credentials and they will be
* lost.
*/
//credentialSecret: "a-secret-key",
credentialSecret: process.env.NODE_RED_CREDENTIAL_SECRET,
/** By default, the flow JSON will be formatted over multiple lines making
* it easier to compare changes when using version control.