I’m trying to write a json string as a value of a key using the CLI:
set configSettings=’{“Configs”:[{“EvergageAPIKey”:“zzz”},{“CryptoPassword”:“www”}]}’
vault write -ns=ACOM secret/0418000007GS/nonprod/ACOM/Allstate.com ^
configSettings=%configSettings%
But I get the following error:
Failed to parse K=V data: invalid key/value pair “\nset”: format must be key=value
I’m not trying to import the json, just write a JSON string.
Thanks