]> git.proxmox.com Git - pve-docs.git/blame - pveum.1-synopsis.adoc
rewrite and extend pct documentation
[pve-docs.git] / pveum.1-synopsis.adoc
CommitLineData
1f554f76
DM
1*pveum* `<COMMAND> [ARGS] [OPTIONS]`
2
e2d681b3 3*pveum acl delete* `<path> --roles <string>` `[OPTIONS]`
1f554f76
DM
4
5Update Access Control List (add or remove permissions).
6
013dc89f 7`<path>`: `<string>` ::
1f554f76
DM
8
9Access control path
10
2489d6df 11`--groups` `<string>` ::
1f554f76
DM
12
13List of groups.
14
2489d6df 15`--propagate` `<boolean>` ('default =' `1`)::
1f554f76
DM
16
17Allow to propagate (inherit) permissions.
18
2489d6df 19`--roles` `<string>` ::
1f554f76
DM
20
21List of roles.
22
e9cd3bd4
TL
23`--tokens` `<string>` ::
24
25List of API tokens.
26
2489d6df 27`--users` `<string>` ::
1f554f76
DM
28
29List of users.
30
5c1699e5
TL
31*pveum acl list* `[FORMAT_OPTIONS]`
32
33Get Access Control List (ACLs).
34
e2d681b3 35*pveum acl modify* `<path> --roles <string>` `[OPTIONS]`
1f554f76
DM
36
37Update Access Control List (add or remove permissions).
38
013dc89f 39`<path>`: `<string>` ::
1f554f76
DM
40
41Access control path
42
2489d6df 43`--groups` `<string>` ::
1f554f76
DM
44
45List of groups.
46
2489d6df 47`--propagate` `<boolean>` ('default =' `1`)::
1f554f76
DM
48
49Allow to propagate (inherit) permissions.
50
2489d6df 51`--roles` `<string>` ::
1f554f76
DM
52
53List of roles.
54
e9cd3bd4
TL
55`--tokens` `<string>` ::
56
57List of API tokens.
58
2489d6df 59`--users` `<string>` ::
1f554f76
DM
60
61List of users.
62
e2d681b3
TL
63*pveum acldel*
64
65An alias for 'pveum acl delete'.
66
67*pveum aclmod*
68
69An alias for 'pveum acl modify'.
70
71*pveum group add* `<groupid>` `[OPTIONS]`
1f554f76
DM
72
73Create new group.
74
013dc89f 75`<groupid>`: `<string>` ::
1f554f76
DM
76
77no description available
78
2489d6df 79`--comment` `<string>` ::
1f554f76
DM
80
81no description available
82
e2d681b3 83*pveum group delete* `<groupid>`
1f554f76
DM
84
85Delete group.
86
013dc89f 87`<groupid>`: `<string>` ::
1f554f76
DM
88
89no description available
90
5c1699e5
TL
91*pveum group list* `[FORMAT_OPTIONS]`
92
93Group index.
94
e2d681b3 95*pveum group modify* `<groupid>` `[OPTIONS]`
1f554f76
DM
96
97Update group data.
98
013dc89f 99`<groupid>`: `<string>` ::
1f554f76
DM
100
101no description available
102
2489d6df 103`--comment` `<string>` ::
1f554f76
DM
104
105no description available
106
e2d681b3
TL
107*pveum groupadd*
108
109An alias for 'pveum group add'.
110
111*pveum groupdel*
112
113An alias for 'pveum group delete'.
114
115*pveum groupmod*
116
117An alias for 'pveum group modify'.
118
35a75dd3 119*pveum help* `[OPTIONS]`
1f554f76
DM
120
121Get help about specified command.
122
35a75dd3 123`--extra-args` `<array>` ::
1f554f76 124
35a75dd3 125Shows help for a specific command
1f554f76 126
2489d6df 127`--verbose` `<boolean>` ::
1f554f76
DM
128
129Verbose output format.
130
1f554f76
DM
131*pveum passwd* `<userid>`
132
133Change user password.
134
013dc89f 135`<userid>`: `<string>` ::
1f554f76
DM
136
137User ID
138
e2d681b3 139*pveum role add* `<roleid>` `[OPTIONS]`
1f554f76
DM
140
141Create new role.
142
013dc89f 143`<roleid>`: `<string>` ::
1f554f76
DM
144
145no description available
146
2489d6df 147`--privs` `<string>` ::
1f554f76
DM
148
149no description available
150
e2d681b3 151*pveum role delete* `<roleid>`
1f554f76
DM
152
153Delete role.
154
013dc89f 155`<roleid>`: `<string>` ::
1f554f76
DM
156
157no description available
158
5c1699e5
TL
159*pveum role list* `[FORMAT_OPTIONS]`
160
161Role index.
162
e2d681b3 163*pveum role modify* `<roleid>` `[OPTIONS]`
1f554f76 164
e2d681b3 165Update an existing role.
1f554f76 166
013dc89f 167`<roleid>`: `<string>` ::
1f554f76
DM
168
169no description available
170
2489d6df 171`--append` `<boolean>` ::
1f554f76
DM
172
173no description available
174+
175NOTE: Requires option(s): `privs`
176
2489d6df 177`--privs` `<string>` ::
1f554f76
DM
178
179no description available
180
e2d681b3
TL
181*pveum roleadd*
182
183An alias for 'pveum role add'.
184
185*pveum roledel*
186
187An alias for 'pveum role delete'.
188
189*pveum rolemod*
190
191An alias for 'pveum role modify'.
192
1f554f76
DM
193*pveum ticket* `<username>` `[OPTIONS]`
194
195Create or verify authentication ticket.
196
013dc89f 197`<username>`: `<string>` ::
1f554f76
DM
198
199User name
200
2489d6df 201`--otp` `<string>` ::
1f554f76
DM
202
203One-time password for Two-factor authentication.
204
2489d6df 205`--path` `<string>` ::
1f554f76
DM
206
207Verify ticket, and check if user have access 'privs' on 'path'
208+
209NOTE: Requires option(s): `privs`
210
2489d6df 211`--privs` `<string>` ::
1f554f76
DM
212
213Verify ticket, and check if user have access 'privs' on 'path'
214+
215NOTE: Requires option(s): `path`
216
2489d6df 217`--realm` `<string>` ::
1f554f76 218
c2993fe5 219You can optionally pass the realm using this parameter. Normally the realm is simply added to the username <username>@<relam>.
1f554f76 220
e2d681b3 221*pveum user add* `<userid>` `[OPTIONS]`
1f554f76
DM
222
223Create new user.
224
013dc89f 225`<userid>`: `<string>` ::
1f554f76
DM
226
227User ID
228
2489d6df 229`--comment` `<string>` ::
1f554f76
DM
230
231no description available
232
2489d6df 233`--email` `<string>` ::
1f554f76
DM
234
235no description available
236
2489d6df 237`--enable` `<boolean>` ('default =' `1`)::
1f554f76 238
e2d681b3 239Enable the account (default). You can set this to '0' to disable the account
1f554f76 240
2489d6df 241`--expire` `<integer> (0 - N)` ::
1f554f76 242
c2993fe5 243Account expiration date (seconds since epoch). '0' means no expiration date.
1f554f76 244
2489d6df 245`--firstname` `<string>` ::
1f554f76
DM
246
247no description available
248
2489d6df 249`--groups` `<string>` ::
1f554f76
DM
250
251no description available
252
2489d6df 253`--keys` `<string>` ::
1f554f76
DM
254
255Keys for two factor auth (yubico).
256
2489d6df 257`--lastname` `<string>` ::
1f554f76
DM
258
259no description available
260
e2d681b3 261`--password` `<string>` ::
1f554f76
DM
262
263Initial password.
264
e2d681b3 265*pveum user delete* `<userid>`
1f554f76
DM
266
267Delete user.
268
013dc89f 269`<userid>`: `<string>` ::
1f554f76
DM
270
271User ID
272
5c1699e5
TL
273*pveum user list* `[OPTIONS]` `[FORMAT_OPTIONS]`
274
275User index.
276
277`--enabled` `<boolean>` ::
278
279Optional filter for enable property.
280
e9cd3bd4
TL
281`--full` `<boolean>` ('default =' `0`)::
282
283Include group and token information.
284
e2d681b3 285*pveum user modify* `<userid>` `[OPTIONS]`
1f554f76
DM
286
287Update user configuration.
288
013dc89f 289`<userid>`: `<string>` ::
1f554f76
DM
290
291User ID
292
2489d6df 293`--append` `<boolean>` ::
1f554f76
DM
294
295no description available
296+
297NOTE: Requires option(s): `groups`
298
2489d6df 299`--comment` `<string>` ::
1f554f76
DM
300
301no description available
302
2489d6df 303`--email` `<string>` ::
1f554f76
DM
304
305no description available
306
e2d681b3 307`--enable` `<boolean>` ('default =' `1`)::
1f554f76 308
e2d681b3 309Enable the account (default). You can set this to '0' to disable the account
1f554f76 310
2489d6df 311`--expire` `<integer> (0 - N)` ::
1f554f76 312
c2993fe5 313Account expiration date (seconds since epoch). '0' means no expiration date.
1f554f76 314
2489d6df 315`--firstname` `<string>` ::
1f554f76
DM
316
317no description available
318
2489d6df 319`--groups` `<string>` ::
1f554f76
DM
320
321no description available
322
2489d6df 323`--keys` `<string>` ::
1f554f76
DM
324
325Keys for two factor auth (yubico).
326
2489d6df 327`--lastname` `<string>` ::
1f554f76
DM
328
329no description available
330
e9cd3bd4
TL
331*pveum user permissions* `[<userid>]` `[OPTIONS]` `[FORMAT_OPTIONS]`
332
333Retrieve effective permissions of given user/token.
334
335`<userid>`: `(?^:^(?^:[^\s:/]+)\@(?^:[A-Za-z][A-Za-z0-9\.\-_]+)(?:!(?^:[A-Za-z][A-Za-z0-9\.\-_]+))?$)` ::
336
337User ID or full API token ID
338
339`--path` `<string>` ::
340
341Only dump this specific path, not the whole tree.
342
343*pveum user token add* `<userid> <tokenid>` `[OPTIONS]` `[FORMAT_OPTIONS]`
344
345Generate a new API token for a specific user. NOTE: returns API token
346value, which needs to be stored as it cannot be retrieved afterwards!
347
348`<userid>`: `<string>` ::
349
350User ID
351
352`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
353
354User-specific token identifier.
355
356`--comment` `<string>` ::
357
358no description available
359
360`--expire` `<integer> (0 - N)` ('default =' `same as user`)::
361
362API token expiration date (seconds since epoch). '0' means no expiration date.
363
364`--privsep` `<boolean>` ('default =' `1`)::
365
366Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user.
367
368*pveum user token list* `<userid>` `[FORMAT_OPTIONS]`
369
370Get user API tokens.
371
372`<userid>`: `<string>` ::
373
374User ID
375
376*pveum user token modify* `<userid> <tokenid>` `[OPTIONS]` `[FORMAT_OPTIONS]`
377
378Update API token for a specific user.
379
380`<userid>`: `<string>` ::
381
382User ID
383
384`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
385
386User-specific token identifier.
387
388`--comment` `<string>` ::
389
390no description available
391
392`--expire` `<integer> (0 - N)` ('default =' `same as user`)::
393
394API token expiration date (seconds since epoch). '0' means no expiration date.
395
396`--privsep` `<boolean>` ('default =' `1`)::
397
398Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user.
399
400*pveum user token permissions* `<userid> <tokenid>` `[OPTIONS]` `[FORMAT_OPTIONS]`
401
402Retrieve effective permissions of given token.
403
404`<userid>`: `<string>` ::
405
406User ID
407
408`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
409
410User-specific token identifier.
411
412`--path` `<string>` ::
413
414Only dump this specific path, not the whole tree.
415
416*pveum user token remove* `<userid> <tokenid>` `[FORMAT_OPTIONS]`
417
418Remove API token for a specific user.
419
420`<userid>`: `<string>` ::
421
422User ID
423
424`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
425
426User-specific token identifier.
427
e2d681b3
TL
428*pveum useradd*
429
430An alias for 'pveum user add'.
431
432*pveum userdel*
433
434An alias for 'pveum user delete'.
435
436*pveum usermod*
437
438An alias for 'pveum user modify'.
439
1f554f76 440