1etcdctl3(1) etcdctl3(1)
2
3
4
6 etcdctl-role-grant-permission - Grants a key to a role
7
8
9
11 etcdctl role grant-permission [options] <role name> <permission type>
12 <key> [endkey] [flags]
13
14
15
17 Grants a key to a role
18
19
20
22 --from-key[=false]
23 grant a permission of keys that are greater than or equal to the
24 given key using byte compare
25
26
27 -h, --help[=false]
28 help for grant-permission
29
30
31 --prefix[=false]
32 grant a prefix permission
33
34
35
37 --cacert=""
38 verify certificates of TLS-enabled secure servers using this CA
39 bundle
40
41
42 --cert=""
43 identify secure client using this TLS certificate file
44
45
46 --command-timeout=5s
47 timeout for short running command (excluding dial timeout)
48
49
50 --debug[=false]
51 enable client-side debug logging
52
53
54 --dial-timeout=2s
55 dial timeout for client connections
56
57
58 -d, --discovery-srv=""
59 domain name to query for SRV records describing cluster endpoints
60
61
62 --discovery-srv-name=""
63 service name to query when using DNS discovery
64
65
66 --endpoints=[127.0.0.1:2379]
67 gRPC endpoints
68
69
70 --hex[=false]
71 print byte strings as hex encoded strings
72
73
74 --insecure-discovery[=true]
75 accept insecure SRV records describing cluster endpoints
76
77
78 --insecure-skip-tls-verify[=false]
79 skip server certificate verification (CAUTION: this option should
80 be enabled only for testing purposes)
81
82
83 --insecure-transport[=true]
84 disable transport security for client connections
85
86
87 --keepalive-time=2s
88 keepalive time for client connections
89
90
91 --keepalive-timeout=6s
92 keepalive timeout for client connections
93
94
95 --key=""
96 identify secure client using this TLS key file
97
98
99 --password=""
100 password for authentication (if this option is used, --user option
101 shouldn't include password)
102
103
104 --user=""
105 username[:password] for authentication (prompt if password is not
106 supplied)
107
108
109 -w, --write-out="simple"
110 set the output format (fields, json, protobuf, simple, table)
111
112
113
115 etcdctl2-role(1)
116
117
118
120 4-Sep-2020 Auto generated by spf13/cobra
121
122
123
124Auto generated by spf13/cobra Sep 2020 etcdctl3(1)