Examples (8)
Display the value associated with a specified key
etcdctl get my/keyStore a key-value pair
etcdctl put my/key my_valueDelete a key-value pair
etcdctl del my/keyStore a key-value pair, reading the value from a file
etcdctl < path/to/file.txt put my/fileSave a snapshot of the etcd keystore
etcdctl snapshot save path/to/snapshot.dbRestore a snapshot of an etcd keystore (restart the etcd server afterwards)
etcdctl snapshot restore path/to/snapshot.dbAdd a user
etcdctl user add my_usermade by @shridhargupta | data from tldr-pages