Command map

update data key

Write one runtime-state key into the daemon's store.

Ze command

Registry path
update data key
Usage
update data key <key> <content>
Mode
Daemon
Wire method
ze-config:data-key-update
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
none: this command takes no subcommand
Pipes, always
json, ndjson, table, text, yaml, raw, no-more, save
Pipes, when the answer has rows
match, count, first, last, display, fill
Pipes, while streaming
log
Pipes, local process only
save

Description

Writes one runtime-state key (a key under meta/ outside meta/config/) through
the store the daemon owns, so it works while ze runs. The key is created, or
replaced when it exists, with the bytes content decodes to, and the answer
carries the key and the byte count. A configuration key (under file/ or
meta/config/, or outside both) is refused before the store is touched, because
a raw write bypasses its versions, pointers and history. A key a plugin is
granted is refused while that plugin runs, because the plugin manages the key
while it runs; the refusal names the plugin and its restart. Until the daemon
has started its plugins, such a key is refused, because the daemon cannot tell
yet whether the plugin runs. The content is never recorded: the audit log, the
accounting record, the SSH exec log and the session transcript hold a
placeholder in its place.

Arguments

NameTypeRequiredValuesSummaryDescription
keystringyesany value of this typeStore key, as show data list prints itThe key to write, as show data list prints it.
contentstringyesany value of this typeKey bytes in base64, at most 195,840 bytesThe bytes to write, base64-encoded (RFC 4648 Section 4, with padding): 1 to 195,840 bytes, at most 261,120 characters. The value is never recorded.

Mapping status

No vendor equivalent has been curated yet for this Ze command.

Juniper Junos MX

No equivalent is listed for this vendor yet.

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

No equivalent is listed for this vendor yet.

VyOS

No equivalent is listed for this vendor yet.