tldr/pages/common/consul-kv.md

16 lines
276 B
Markdown
Raw Normal View History

2017-02-28 10:31:38 +00:00
# consul-kv
> Distributed key-value store with health checking and service discovery.
- Read a value from the key-value store:
`consul kv get {{key}}`
- Store a new key-value pair:
`consul kv put {{key}} {{value}}`
- Delete a key-value pair:
`consul kv delete {{key}}`