Hi! While I see n8n has great credential support for base/installed nodes, I’m trying to figure out if I can create custom credentials for use in Code nodes.
Specifically, I need to securely store and access authentication details (username/pass/API keys) for PowerShell scripts running in Code nodes. Rather than hardcoding these, can I leverage n8n’s credential manager?
Is this possible? If so, how do I:
Create generic credentials in n8n?
Access them in Code nodes?
Thanks!
n8n version: latest
db: default
running n8n via docker, self hosted on ubuntu 24
Oddly we have not had any requests like this before that I am aware of, At the moment this isn’t possible. How are you currently running powershell in your code node we only support javascript and python? Are you maybe using the execute command node instead?
I am having this issue where when I search in credential to add api key of Eleven Labs it dont show any option so how can i add it or create a new custom authentication entry