Create External Secrets via n8n API

I was perusing the n8n api documentation and didn’t see a way to activate or create an external secret using an api call. This would be beneficial because I would like to rotate my AWS credentials and would need a way to update them in n8n.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow


Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.120.4
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system: n8n Cloud

Hello @qvoglund

Yes, this is not possible at the moment,
but about rotating credentials, you might find this topic useful:

@mohamed3nan thanks for getting back to me. In that case is there a way to store a secret as a variable in n8n. A way to store it in an encrypted hidden manner?