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 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 (CAUTION: this option should
107       be enabled only for testing purposes)
108
109
110       --insecure-transport[=true]
111           disable transport security for client connections
112
113
114       --keepalive-time=2s
115           keepalive time for client connections
116
117
118       --keepalive-timeout=6s
119           keepalive timeout for client connections
120
121
122       --key=""
123           identify secure client using this TLS key file
124
125
126       --password=""
127           password for authentication (if this option is used, --user option
128       shouldn't include password)
129
130
131       --user=""
132           username[:password] for authentication (prompt if password is not
133       supplied)
134
135
136       -w, --write-out="simple"
137           set the output format (fields, json, protobuf, simple, table)
138
139
140

SEE ALSO

142       etcdctl(1)
143
144
145

HISTORY

147       4-Sep-2020 Auto generated by spf13/cobra
148
149
150
151Auto generated by spf13/cobra      Sep 2020                        etcdctl3(1)
Impressum