Developer Tasks

Step-by-step guides for developers using etcd as a key-value store in their applications.

Reading from etcd

Reading a value in an etcd cluster

Writing to etcd

Adding a KV pair to an etcd cluster

How to get keys by prefix

Guide to extracting etcd keys by their prefix

How to delete keys

Describes a way to delete etcd keys

How to make multiple writes in a transaction

Guide to making transactional writes

How to watch keys

Guide to watching etcd keys

How to create lease

Guide to creating a lease in etcd

How to create locks

Guide to creating distributed locks in etcd


Last modified July 6, 2025: etcd-website: reorganise v3.7 (c159c16)