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

LDAP feature - Push mode to be able to set predetermined password #12135

Open
avoidik opened this issue Jul 21, 2021 · 5 comments
Open

LDAP feature - Push mode to be able to set predetermined password #12135

avoidik opened this issue Jul 21, 2021 · 5 comments

Comments

@avoidik
Copy link
Contributor

avoidik commented Jul 21, 2021

Is your feature request related to a problem? Please describe.

I'd like to be able to set my predetermined password so that connected service can bootstrap itself

Describe the solution you'd like

Push mode in addition to available pull mode, similar to AppRole model

Describe alternatives you've considered

Weird workaround based on KV backend

Explain any additional use-cases

Additional context

@heatherezell
Copy link
Contributor

Hi @avoidik! Can you go into a little more detail as to the sort of solution you'd be looking for? Or what workaround you'd utilize to get this resolved? That'll help us figure out a bit better whether this is already a known request or if we need to think about it more in-depth. Thanks! :)

@avoidik
Copy link
Contributor Author

avoidik commented Jul 21, 2021

Hello @hsimon-hashicorp I'll do my best, in the current implementation there is only one possible way to get LDAP secrets, is to request LDAP role's credentials from Vault API (let's name it as pull-mode), the idea behind this feature is to establish a backward channel, so that Vault user having enough permissions will be able to "preseed" LDAP role with predetermined credentials by sending API request to Vault, potentially based on the option flag, to make it happen only once, or as many times as needed (let's name it as push-mode with lock and without lock respectively). I hope my explanation is net positive. Please let me know if I need to expand my example further.

@heatherezell
Copy link
Contributor

@avoidik Just to clarify, do you mean the OpenLDAP secrets engine, or the LDAP auth method? Based on your mention of the API, I'm thinking it's OpenLDAP secrets engine, but I want to make sure. Thanks! :)

@avoidik
Copy link
Contributor Author

avoidik commented Jul 22, 2021

yes, it's about openldap

@avoidik
Copy link
Contributor Author

avoidik commented Jan 12, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants