How to get the encryption key an using for my n8n

Am running n8n on digital ocean and would like to access my env So I can save it for future reference.

Is there a simple way to get this? I tried using chatGPT but could not get the right way to acess the .n8n files

Thanks

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @Imperol,

The encryption key location will depend on how you are running, It will be inside the container under /home/node/.n8n/config how you access this depends on how your options.

If you used docker run with a docker volume you can access the volume storage and pull it from there, If you use run with the storage being under ~/.n8n:/home/node/.n8n you can access it under the running users ~/.n8n path (this is also where it will be for npm installs).

Another option if using docker is to access the container then browse to the file so you could use docker exec -it [container_name] /bin/sh

1 Like

Thanks. It worked

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.