Skip to content
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

Customizable approle path / mount_point #190

Merged
merged 5 commits into from Jun 12, 2018

Conversation

jeffwecan
Copy link
Member

Solves for #178.

Auth backends can be mounted under arbitrary paths. This PR ensures custom paths can be used with the module and the approle auth backend in particular.

@jeffwecan
Copy link
Member Author

@bartwalczak1: This PR is meant to address your issue. I would appreciate your sign-off in the comments here as to whether it does that successfully or not. :D

@bartwalczak1
Copy link

looks good thanks!

@jeffwecan jeffwecan force-pushed the jeffwecan/issue_178_approle_mount_paths branch from b096d8e to a8c4a16 Compare June 11, 2018 13:29
@jeffwecan
Copy link
Member Author

Noting for posterity: I added some unit tests for all the methods being changed here to ensure there were tests covering the specific changes (which ended up being good because I caught one potential bug while adding em!). As a result of that, I updated any approle methods that returned None to instead return their associated Vault response. That was needed for the test assertions but also provided additional information to the methods' callers if they desire it.

@jeffwecan jeffwecan merged commit 2351390 into master Jun 12, 2018
@jeffwecan jeffwecan deleted the jeffwecan/issue_178_approle_mount_paths branch June 12, 2018 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants