I am new to Consul.
I am trying to import a key/value pair from Json File. (working in windows env)
But when I try to import with the following command, facing error.
Command:
consul.exe kv import @keyvalue.json
Contents:
{"MYVAR": "123","AnotherKey":"SomeValueHere"}
Error:
Cannot unmarshal data: json: cannot unmarshal object into Go value of type []*command.kvExportEntry
Could any one suggest some ideas, in solving this error.
Thanks.