mirror of https://github.com/status-im/consul.git
docs: call out `kv export` and the transaction API
This commit is contained in:
parent
2dc05b4017
commit
021537c837
|
@ -12,6 +12,12 @@ store at the given key name. If no key exists with that name, an error is
|
||||||
returned. If a key exists with that name but has no data, nothing is returned.
|
returned. If a key exists with that name but has no data, nothing is returned.
|
||||||
A key name or prefix is required.
|
A key name or prefix is required.
|
||||||
|
|
||||||
|
-> When reading many entries under a given prefix, it may be worth considering
|
||||||
|
[`kv export`](/commands/kv/export) instead, the output of which can be used
|
||||||
|
with [`kv import`](/commands/kv/import) to move entire trees between Consul
|
||||||
|
clusters. Alternatively, the [transaction API](/api-docs/txn) provides
|
||||||
|
support for performing up to 64 KV operations atomically.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Usage: `consul kv get [options] [KEY_OR_PREFIX]`
|
Usage: `consul kv get [options] [KEY_OR_PREFIX]`
|
||||||
|
|
Loading…
Reference in New Issue