dt kv put
Overview
Sets or updates data in the KV store
Synopsis
dt kv put [OPTIONS] <key> <value>
Options
-
-s,--secure
Add encrypted KV pair -
-g,--groups=<groups>
List of groups to add to the key's acl of the form: group1:rw,group2:rw,... -
-o,--others=<others>
Permissions for everybody -
-u,--users=<users>
List of users to add to the key's acl of the form: user1:rw,user2:rw,... -
-J,--json-enrichened
Output a newly created entity in JSON format -
-e,--environment=<environment>
Target environment (dev/pre/prod). Only available from system/local.
Arguments
-
key(required)
Type:String
Name of the key -
value(required)
Type:String
Name of the value
Examples
Create or update the key named 'foo/bar' with the value 'baz'
dt kv put foo/bar baz
Create or update the key named 'foo/bar' with the value in my_file.json
dt kv put foo/bar file:///home/user/my_file.json
SEE ALSO
← Back to dt kv