-
Notifications
You must be signed in to change notification settings - Fork 42
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
Feature: allow generation of secrets if missing in Vault #9
Comments
This is actually pretty cool, but I feel like this might be pushing the boundries of the use-case for lookup... I'm writing up some Vault helpers and other things as functions (eg. AWS credentials, fetching tokens etc) so I'll see if I can make a basic one for setting a password if i get the time 😄 |
We are using a separate lookup-function named vault_lookup::lookupgen which takes two parameters (lookupkey and passwordlength) to create a new password if not present at the location. See attached patch for some ideas (note that this function also hardcodes the vault-path to the puppetmaster and also inserts the FQDN to the path. |
It would be nice to have some sort of a password generation option to the vault_lookup function.
some usecases:
The idea of this feature request to have Vault with the features of trocla (https://github.com/duritong/trocla). Trocla allows autogenerating a password if it does not exist.
The text was updated successfully, but these errors were encountered: