Site icon Exam4Training

What is the easiest way to do so?

You are using the Consul KV store and need to be able to easily list all of the keys in a given path.

What is the easiest way to do so?
A . consul kv read -recursive
B. consul kv get *.*
C. consul kv read
D. consul kv get -recurse

Answer: D

Explanation:

List all the keys in the store using the recurse options. Results are returned in lexicographical order.

https://learn.hashicorp.com/consul/getting-started/kv

Exit mobile version