Hi,
I'm having trouble with Node-RED projects and credential encryption.
Context of my setup:
- Development is done in a Dockerized Node-RED instance with Projects (git) enabled.
- When I commit code, it is pushed to a GitHub repository.
- A GitHub Action builds a new container using a Dockerfile plus the flows and project files.
- The image is pushed to Docker Hub.
- The OPS server then pulls this image and redeploys the containers.
The problem is with flows_cred.json. When encryption is enabled, the container generated in the pipeline cannot decrypt the credentials.
I tried setting the credentialSecret in settings.js, but it did not work.
If I disable encryption, everything works fine, but that is not the desired setup.
How should this be configured correctly so encrypted credentials can be used across environments?
Thanks!
(Node-RED 4.0.2)
