docs: call out `kv export` and the transaction API

This commit is contained in:
Daniel Upton 2022-01-10 13:49:17 +00:00
parent 2dc05b4017
commit 021537c837
1 changed files with 6 additions and 0 deletions

View File

@ -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]`