1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 13:26:05 +02:00
tldr/pages/common/consul-kv.md

17 lines
353 B
Markdown
Raw Normal View History

2017-02-28 11:31:38 +01:00
# consul-kv
> Distributed key-value store with health checking and service discovery.
> More information: <https://learn.hashicorp.com/consul/getting-started/kv>.
2017-02-28 11:31:38 +01:00
- 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}}`