README.md in vault-update-1.1.0 vs README.md in vault-update-1.1.1
- old
+ new
@@ -33,9 +33,23 @@
-s, --history=<i> Show the last N entries of history
-l, --last Show the last value
-h, --help Show this message
```
+## Create a completely new key OR update a path without specifing a key separately
+
+If valid JSON is specified on the command line (enclosed in single quotes), separate key and value arguments are not required. The JSON blob is merged "whole hog" with the existing value for the specified path.
+
+```
+$ vault-update -p secret/example '{"mykey": "myvalue"}'
+Applying changes to secret/example:
+
+-null
++{
++ "mykey": "myvalue"
++}
+```
+
## Write a string value to a key
```
$ vault-update -p secret/example mykey myvalue
Applying changes to secret/example: