]> git.proxmox.com Git - pve-docs.git/blobdiff - pveum.1-synopsis.adoc
cert management: move some headings a level up for better visibility
[pve-docs.git] / pveum.1-synopsis.adoc
index dd3e988806520730a67cb651ad45b97a89a70382..5278b395d8e2483b1dbad306f64de867f0db11bf 100644 (file)
@@ -1,6 +1,6 @@
 *pveum* `<COMMAND> [ARGS] [OPTIONS]`
 
-*pveum acldel* `<path> --roles <string>` `[OPTIONS]`
+*pveum acl delete* `<path> --roles <string>` `[OPTIONS]`
 
 Update Access Control List (add or remove permissions).
 
@@ -20,11 +20,19 @@ Allow to propagate (inherit) permissions.
 
 List of roles.
 
+`--tokens` `<string>` ::
+
+List of API tokens.
+
 `--users` `<string>` ::
 
 List of users.
 
-*pveum aclmod* `<path> --roles <string>` `[OPTIONS]`
+*pveum acl list* `[FORMAT_OPTIONS]`
+
+Get Access Control List (ACLs).
+
+*pveum acl modify* `<path> --roles <string>` `[OPTIONS]`
 
 Update Access Control List (add or remove permissions).
 
@@ -44,11 +52,23 @@ Allow to propagate (inherit) permissions.
 
 List of roles.
 
+`--tokens` `<string>` ::
+
+List of API tokens.
+
 `--users` `<string>` ::
 
 List of users.
 
-*pveum groupadd* `<groupid>` `[OPTIONS]`
+*pveum acldel*
+
+An alias for 'pveum acl delete'.
+
+*pveum aclmod*
+
+An alias for 'pveum acl modify'.
+
+*pveum group add* `<groupid>` `[OPTIONS]`
 
 Create new group.
 
@@ -60,7 +80,7 @@ no description available
 
 no description available
 
-*pveum groupdel* `<groupid>`
+*pveum group delete* `<groupid>`
 
 Delete group.
 
@@ -68,7 +88,11 @@ Delete group.
 
 no description available
 
-*pveum groupmod* `<groupid>` `[OPTIONS]`
+*pveum group list* `[FORMAT_OPTIONS]`
+
+Group index.
+
+*pveum group modify* `<groupid>` `[OPTIONS]`
 
 Update group data.
 
@@ -80,6 +104,18 @@ no description available
 
 no description available
 
+*pveum groupadd*
+
+An alias for 'pveum group add'.
+
+*pveum groupdel*
+
+An alias for 'pveum group delete'.
+
+*pveum groupmod*
+
+An alias for 'pveum group modify'.
+
 *pveum help* `[OPTIONS]`
 
 Get help about specified command.
@@ -100,7 +136,7 @@ Change user password.
 
 User ID
 
-*pveum roleadd* `<roleid>` `[OPTIONS]`
+*pveum role add* `<roleid>` `[OPTIONS]`
 
 Create new role.
 
@@ -112,7 +148,7 @@ no description available
 
 no description available
 
-*pveum roledel* `<roleid>`
+*pveum role delete* `<roleid>`
 
 Delete role.
 
@@ -120,9 +156,13 @@ Delete role.
 
 no description available
 
-*pveum rolemod* `<roleid> --privs <string>` `[OPTIONS]`
+*pveum role list* `[FORMAT_OPTIONS]`
 
-Create new role.
+Role index.
+
+*pveum role modify* `<roleid>` `[OPTIONS]`
+
+Update an existing role.
 
 `<roleid>`: `<string>` ::
 
@@ -138,6 +178,18 @@ NOTE: Requires option(s): `privs`
 
 no description available
 
+*pveum roleadd*
+
+An alias for 'pveum role add'.
+
+*pveum roledel*
+
+An alias for 'pveum role delete'.
+
+*pveum rolemod*
+
+An alias for 'pveum role modify'.
+
 *pveum ticket* `<username>` `[OPTIONS]`
 
 Create or verify authentication ticket.
@@ -166,7 +218,7 @@ NOTE: Requires option(s): `path`
 
 You can optionally pass the realm using this parameter. Normally the realm is simply added to the username <username>@<relam>.
 
-*pveum useradd* `<userid>` `[OPTIONS]`
+*pveum user add* `<userid>` `[OPTIONS]`
 
 Create new user.
 
@@ -184,7 +236,7 @@ no description available
 
 `--enable` `<boolean>` ('default =' `1`)::
 
-Enable the account (default). You can set this to '0' to disable the accout
+Enable the account (default). You can set this to '0' to disable the account
 
 `--expire` `<integer> (0 - N)` ::
 
@@ -206,11 +258,11 @@ Keys for two factor auth (yubico).
 
 no description available
 
-`--password` ::
+`--password` `<string>` ::
 
 Initial password.
 
-*pveum userdel* `<userid>`
+*pveum user delete* `<userid>`
 
 Delete user.
 
@@ -218,7 +270,19 @@ Delete user.
 
 User ID
 
-*pveum usermod* `<userid>` `[OPTIONS]`
+*pveum user list* `[OPTIONS]` `[FORMAT_OPTIONS]`
+
+User index.
+
+`--enabled` `<boolean>` ::
+
+Optional filter for enable property.
+
+`--full` `<boolean>` ('default =' `0`)::
+
+Include group and token information.
+
+*pveum user modify* `<userid>` `[OPTIONS]`
 
 Update user configuration.
 
@@ -240,9 +304,9 @@ no description available
 
 no description available
 
-`--enable` `<boolean>` ::
+`--enable` `<boolean>` ('default =' `1`)::
 
-Enable/disable the account.
+Enable the account (default). You can set this to '0' to disable the account
 
 `--expire` `<integer> (0 - N)` ::
 
@@ -264,4 +328,113 @@ Keys for two factor auth (yubico).
 
 no description available
 
+*pveum user permissions* `[<userid>]` `[OPTIONS]` `[FORMAT_OPTIONS]`
+
+Retrieve effective permissions of given user/token.
+
+`<userid>`: `(?^:^(?^:[^\s:/]+)\@(?^:[A-Za-z][A-Za-z0-9\.\-_]+)(?:!(?^:[A-Za-z][A-Za-z0-9\.\-_]+))?$)` ::
+
+User ID or full API token ID
+
+`--path` `<string>` ::
+
+Only dump this specific path, not the whole tree.
+
+*pveum user token add* `<userid> <tokenid>` `[OPTIONS]` `[FORMAT_OPTIONS]`
+
+Generate a new API token for a specific user. NOTE: returns API token
+value, which needs to be stored as it cannot be retrieved afterwards!
+
+`<userid>`: `<string>` ::
+
+User ID
+
+`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
+
+User-specific token identifier.
+
+`--comment` `<string>` ::
+
+no description available
+
+`--expire` `<integer> (0 - N)` ('default =' `same as user`)::
+
+API token expiration date (seconds since epoch). '0' means no expiration date.
+
+`--privsep` `<boolean>` ('default =' `1`)::
+
+Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user.
+
+*pveum user token list* `<userid>` `[FORMAT_OPTIONS]`
+
+Get user API tokens.
+
+`<userid>`: `<string>` ::
+
+User ID
+
+*pveum user token modify* `<userid> <tokenid>` `[OPTIONS]` `[FORMAT_OPTIONS]`
+
+Update API token for a specific user.
+
+`<userid>`: `<string>` ::
+
+User ID
+
+`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
+
+User-specific token identifier.
+
+`--comment` `<string>` ::
+
+no description available
+
+`--expire` `<integer> (0 - N)` ('default =' `same as user`)::
+
+API token expiration date (seconds since epoch). '0' means no expiration date.
+
+`--privsep` `<boolean>` ('default =' `1`)::
+
+Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user.
+
+*pveum user token permissions* `<userid> <tokenid>` `[OPTIONS]` `[FORMAT_OPTIONS]`
+
+Retrieve effective permissions of given token.
+
+`<userid>`: `<string>` ::
+
+User ID
+
+`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
+
+User-specific token identifier.
+
+`--path` `<string>` ::
+
+Only dump this specific path, not the whole tree.
+
+*pveum user token remove* `<userid> <tokenid>` `[FORMAT_OPTIONS]`
+
+Remove API token for a specific user.
+
+`<userid>`: `<string>` ::
+
+User ID
+
+`<tokenid>`: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` ::
+
+User-specific token identifier.
+
+*pveum useradd*
+
+An alias for 'pveum user add'.
+
+*pveum userdel*
+
+An alias for 'pveum user delete'.
+
+*pveum usermod*
+
+An alias for 'pveum user modify'.
+