Within Community Edition version 1.97.1 running in Docker I have:
N8N_BASIC_AUTH_ACTIVE=true
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=admin
I cannot use http://localhost:5678/rest/credentials/{ID} to PATCH nor GET a specific credential definition. I get a 401 unauthorized. This should be a fairly simple right - especially the GET?
I’m trying to share some auth credentials with Postman by storing them in N8N and retrieving them in Postman when they are needed there. I have an N8N workflow that retrieves my API credentials from elsewhere and stores them in a file. I have a workflow that retrieves them from a file both of which work fine. I have workflows that use the credentials in N8N.
But I’d like to store the credentials in a credential (and not the file) for security’s sake - but it’s not working.
I login to N8N using a username/password, the webhooks work. I’d think a Basic Auth User/Pass would work but it doesn’t. The environment vars inside the docker container are correct. I have to be missing something but what?