1etcdctl3(1)                                                        etcdctl3(1)
2
3
4

NAME

6       etcdctl-get - Gets the key or a range of keys
7
8
9

SYNOPSIS

11       ETCDCTL=3 etcdctl get [options] <key> [range_end] [flags]
12
13
14

DESCRIPTION

16       Gets the key or a range of keys
17
18
19

OPTIONS

21       --consistency="l"
22           Linearizable(l) or Serializable(s)
23
24
25       --from-key[=false]
26           Get keys that are greater than or equal to the given key using byte
27       compare
28
29
30       -h, --help[=false]
31           help for get
32
33
34       --keys-only[=false]
35           Get only the keys
36
37
38       --limit=0
39           Maximum number of results
40
41
42       --order=""
43           Order of results; ASCEND or DESCEND (ASCEND by default)
44
45
46       --prefix[=false]
47           Get keys with matching prefix
48
49
50       --print-value-only[=false]
51           Only write values when using the "simple" output format
52
53
54       --rev=0
55           Specify the kv revision
56
57
58       --sort-by=""
59           Sort target; CREATE, KEY, MODIFY, VALUE, or VERSION
60
61
62

OPTIONS INHERITED FROM PARENT COMMANDS

64       --cacert=""
65           verify certificates of TLS-enabled secure servers using this CA
66       bundle
67
68
69       --cert=""
70           identify secure client using this TLS certificate file
71
72
73       --command-timeout=5s
74           timeout for short running command (excluding dial timeout)
75
76
77       --debug[=false]
78           enable client-side debug logging
79
80
81       --dial-timeout=2s
82           dial timeout for client connections
83
84
85       -d, --discovery-srv=""
86           domain name to query for SRV records describing cluster endpoints
87
88
89       --discovery-srv-name=""
90           service name to query when using DNS discovery
91
92
93       --endpoints=[127.0.0.1:2379]
94           gRPC endpoints
95
96
97       --hex[=false]
98           print byte strings as hex encoded strings
99
100
101       --insecure-discovery[=true]
102           accept insecure SRV records describing cluster endpoints
103
104
105       --insecure-skip-tls-verify[=false]
106           skip server certificate verification
107
108
109       --insecure-transport[=true]
110           disable transport security for client connections
111
112
113       --keepalive-time=2s
114           keepalive time for client connections
115
116
117       --keepalive-timeout=6s
118           keepalive timeout for client connections
119
120
121       --key=""
122           identify secure client using this TLS key file
123
124
125       --password=""
126           password for authentication (if this option is used, --user option
127       shouldn't include password)
128
129
130       --user=""
131           username[:password] for authentication (prompt if password is not
132       supplied)
133
134
135       -w, --write-out="simple"
136           set the output format (fields, json, protobuf, simple, table)
137
138
139

SEE ALSO

141       etcdctl(1)
142
143
144

HISTORY

146       14-Mar-2019 Auto generated by spf13/cobra
147
148
149
150Auto generated by spf13/cobra      Mar 2019                        etcdctl3(1)
Impressum