Mimic vault datasource with second argument, using a file #1182
-
I have a template with some references to a vault datasource, which uses an additional argument to specify the secret path. For example: Here's what I've tried: // vault.json
{
"dbpassword": "test"
}
The error I get back for this was 2. Create a directory
The error I get back for this was 3. Same as 2, except I changed the // dbpassword
{
"value": "test"
}
This gives me I also tried using a git datasource with "dbpassword" as the name of the repo, which did not work either. (by the way, it seems to look for the master branch by default, instead of main) Is it possible to match this template |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just noticed the Basically I had to:
|
Beta Was this translation helpful? Give feedback.
Just noticed the
zsh
at the beginning of that last error. Added quotes around the whole thing and it works now 🎉Basically I had to:
value
being the key?type=application/json
, and surround the whole thing in quotes