-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API to list credentials #4854
base: master
Are you sure you want to change the base?
API to list credentials #4854
Conversation
- This is a first attempt - All credentials are listed, when they should be filtered - Need to add an extra assertionto make sure no extra properties are returned
This PR is now working for members and is ready to be merged. |
I notice the Enterprise Edition supports sharing of credentials between users. I also notice the Public API doesn't have any references to the EE at all, so I haven't supported shared credentials via |
Hi - please can someone from n8n take a look at this PR? |
Adding the internal ticket id for the review... |
@johncant Sorry for such a long delay. Do you still need this endpoint? |
Yes please! |
Given that it's taken a year and a half for anyone to even look at this pull request, I hope you understand if I don't take the time to update it. I cannot be sure that this is a good use of my time. |
Hi,
I'm hoping to add a
GET /credentials
endpoint to the public API. My use case for this is populating a dropdown box in a 3rd party app that needs to create workflows that use credentials. I don't see any advantage in returningdata
via the public API that outweighs any security considerations, so this isn't returned.nodesAccess
also isn't returned.Link to feature request: https://community.n8n.io/t/n8n-api-add-functions-for-credentials/18522 . Luckily I had some free time, so I started implementing it.
Please can you take a look at my first attempt and let me know what you think?
It isn't fully ready and shouldn't yet be merged - specifically, all credentials are returned, regardless of whether the user is anIt's ready.owner
ormember
.Thanks a lot,
John