CmdID

CmdID / Commands

etcdctl

Interact with etcd, a highly-available key-value pair store. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Display the value associated with a specified key

etcdctl get my/keyIdentify

Store a key-value pair

etcdctl put my/key my_valueIdentify

Delete a key-value pair

etcdctl del my/keyIdentify

Store a key-value pair, reading the value from a file

etcdctl <path/to/file.txt put my/fileIdentify

Save a snapshot of the etcd keystore

etcdctl snapshot save path/to/snapshot.dbIdentify

Restore a snapshot of an etcd keystore (restart the etcd server afterwards)

etcdctl snapshot restore path/to/snapshot.dbIdentify

Add a user

etcdctl user add my_userIdentify

Watch a key for changes

etcdctl watch my/keyIdentify