Credential overwrites doesn't work using environment variables

Hey @Madriax

I managed to make it work but I had to use a different environment variable. You should not use CREDENTIALS_OVERWRITE_ENDPOINT but rather CREDENTIALS_OVERWRITE_DATA

An example of what I did and worked:
export CREDENTIALS_OVERWRITE_DATA='{ "githubOAuth2Api": { "clientId": 123, "clientSecret": 456 } }'

I had to use the quotes exactly like this otherwise n8n failed to start at times because of the invalid JSON format.

I hope this helps!

3 Likes