vault write secret/passwords/my_password value=@file.json
{ "value":"ABCD123"}
{ { "my_password": { "value": "ABCD123" }, "your_password": { "value": "EFGH456" } }
vault write secret/passwords @file.json
{ "my_password": { "value": "ABCD123" }, "your_password": { "value": "EFGH456" } }
$ vault write secret/passwords/my_password value=ABCD123
$ vault write secret/passwords/your_password value=EFGH456
vault read secret/file/my_password
No value found at secret/file/my_password
Basically I just want to batch in a bunch of key/value pairs. Is there a means of doing this in Vault natively or will I need to write a routine that traverses the JSON and runs several `vault write` commands?