-
Notifications
You must be signed in to change notification settings - Fork 140
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
feat(auth): adding userpass and ldap auth #440
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for this contribution! I've been testing this out myself and everything seems to work well.
I left review comments on the code and also have a couple callouts below:
The action.yml
file also needs to be updated to list the new inputs for username and password. Here's my recommended descriptions to start with, and I can ask others on my team to provide feedback on them:
- Username: 'The username of the user to log in to Vault as. Available to both Userpass and LDAP auth methods'
- Password: 'The password of the user to log in to Vault as. Available to both Userpass and LDAP auth methods'
What prompted these changes to index.js
? I'll have to ask someone to help review these changes; I simply don't have enough JS experience for that one.
a934265
to
c91dd2c
Compare
Thanks for the review. I forgot the action.yml part, added it now. I removed changes for the index.js inside dist/ after seeing this comment in recent pull request #208 (review) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find about the index.js
changes. Everything seems great. I'm just asking for a quick second opinion on the description text before merging 👍
Thanks, Robert. |
This will be a super helpful feature to have! Is there any timeline for another release that contains this change? I see this has been done for a while - I'm just not sure what the release cadence is like for this Action. |
* main: Add userpass auth and ldap auth support (hashicorp#440) chore(deps-dev): bump jest from 29.4.3 to 29.5.0 (hashicorp#438)
Hi @sladebaumann - Sorry about the wait time, but I wanted to let you know that v2.6.0 went out today with this feature 😄 |
Thank you so much for letting me know! No worries at all on the wait time, I know how it goes :) |
PR helps in appending /{username} at last after /login in path while calling vault auth API.
Related and fixes #433
Added approle test which can now run as part of not just in basic integration suite instead of enterprise alone
Please review and let me know if I need to code it differently since I am not super familiar with nodejs.
Let me know If you need me to add changelog, it had pull request ids so thought you might add at later stage