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

Question: how do I set the vault password for a template via the rest api? #2773

Open
rockstar opened this issue Feb 27, 2025 · 0 comments
Open
Labels

Comments

@rockstar
Copy link

Question

The documentation for setting the vault passphrase on a template via the api docs (both create and edit) mention a template vault type that seems to be the way to set the vault id that contains the vault passphrase. This data type doesn't seem to be corresponding to the values of keys in key stores, and I can't find an incantation that will set this. I've tried many different permutations, mostly as a guess. Right now, the only workaround we have is to set in the UI–this doesn't work for our purposes because we're using the api to generate hundreds of templates for various reasons. If we had to set manually set the vault passphrase in the web view's dropdown for everyone, there's not much point in using the api.

Can you provide some clarity on how to use the TemplateVault type to set the vault key id in a template?

Related to

Web-Backend (APIs)

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

No branches or pull requests

1 participant