1etcdctl3(1) etcdctl3(1)
2
3
4
6 etcdctl-role-grant-permission - Grants a key to a role
7
8
9
11 ETCDCTL=3 etcdctl role grant-permission [options] <role name>
12 <permission type> <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
80
81
82 --insecure-transport[=true]
83 disable transport security for client connections
84
85
86 --keepalive-time=2s
87 keepalive time for client connections
88
89
90 --keepalive-timeout=6s
91 keepalive timeout for client connections
92
93
94 --key=""
95 identify secure client using this TLS key file
96
97
98 --password=""
99 password for authentication (if this option is used, --user option
100 shouldn't include password)
101
102
103 --user=""
104 username[:password] for authentication (prompt if password is not
105 supplied)
106
107
108 -w, --write-out="simple"
109 set the output format (fields, json, protobuf, simple, table)
110
111
112
114 etcdctl3-role(1)
115
116
117
119 14-Mar-2019 Auto generated by spf13/cobra
120
121
122
123Auto generated by spf13/cobra Mar 2019 etcdctl3(1)