Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manage users, groups, and access

devo admin lets you look after the people and permissions of your workspace from a terminal or a script: list users, update an account, organize groups, and decide who can open a vault. Most of these tasks depend on the workspace type, so each table on this page has a WORKSPACE column. On Devolutions Cloud and Devolutions Server, a command the workspace doesn't offer stops with operationNotSupportedBySource and says which type you need. A local profile refuses with its own error code and a message that explains why.

Before you start

  • Sign in with an account that has administrator rights on the workspace. See Sign in to Devolutions Cloud or Sign in to Devolutions Server.

  • Check which workspace is selected with devo status. Add --context <context-name> to a command to run it on another one.

  • Commands that change something need --yes. Without it, they change nothing and stop with confirmationRequired.

  • Users and groups are selected by name by default. Write id:<value> or add --id to select by ID, and email:<value> or --email to select a user by email. In devo admin group members add and remove, the matching options are --group-id, --user-id, and --user-email.

Users

TASK
COMMAND
WORKSPACE

List users, see one user

devo admin user list devo admin user get "<user>"

Devolutions Cloud, Devolutions Server, local profile (read only, when the profile allows it)

See the groups of a user

devo admin user groups list "<user>"

Devolutions Cloud, local profile (read only, when the profile allows it)

Create a user

devo admin user create "<login>" --email <email> --password-env <VARIABLE_NAME> --yes

Devolutions Server

Update a user

devo admin user update "<user>" --enabled false --yes

Devolutions Cloud, Devolutions Server

Delete a user

devo admin user delete "<user>" --yes

Devolutions Cloud, Devolutions Server

Some options of devo admin user update belong to one workspace type:

  • Devolutions Cloud only: --description, --locale, --workspace-access, --web-login, and --user-vaults.

  • Devolutions Server only: --first-name, --last-name, --user-type, --password-env, --password-file, and --force-password-change. On Devolutions Server, change a user's name with --first-name and --last-name: --name and --display-name aren't accepted.

You can't combine options of both types in one command.

On Devolutions Cloud, users synchronized from your organization's directory are managed by that directory. Devolutions CLI refuses to update or delete them.

A new user's password is read from an environment variable (--password-env) or a file (--password-file), never from the command line, so it doesn't end up in your shell history.

Groups

TASK
COMMAND
WORKSPACE

List groups, see one group and its members

devo admin group list devo admin group get "<group>" devo admin group members list "<group>"

Devolutions Cloud, local profile (read only, when the profile allows it)

Create, rename, or delete a group

devo admin group create "<group>" --yes devo admin group update "<group>" --name "<new-name>" --yes devo admin group delete "<group>" --yes

Devolutions Cloud

Add or remove a member

devo admin group members add "<group>" "<user>" --yes devo admin group members remove "<group>" "<user>" --yes

Devolutions Cloud

Deleting a group also removes its assignments. Groups synchronized from your organization's directory can't be deleted.

Roles and vault access

TASK
COMMAND
WORKSPACE

List roles

devo admin role list --scope vault (or --scope entry) devo admin role get <role-id>

Devolutions Cloud

See who can open a vault

devo vault access list "<vault>"

Devolutions Cloud

Give a user or group access to a vault

devo vault access grant "<vault>" --user "<user>" --role Readers --yes

Devolutions Cloud

Remove a user's or group's access

devo vault access revoke "<vault>" --group "<group>" --yes

Devolutions Cloud

See, give, or remove a role on one entry

devo entry access list --vault-id <vault-id> --entry-id <entry-id> devo entry access get --vault-id <vault-id> --entry-id <entry-id> --user-id <user-id> devo entry access grant --vault-id <vault-id> --entry-id <entry-id> --user-id <user-id> --role-id <role-id> --yes devo entry access revoke --vault-id <vault-id> --entry-id <entry-id> --group-id <group-id> --yes

Devolutions Cloud

See the direct permissions of an entry

devo entry permission get "<entry>"

Devolutions Cloud, local profile (when the profile allows it)

List permission sets

devo admin access permission-sets

Devolutions Server

--role accepts a role name or ID: Restricted, Readers, PrivilegedReaders, Operators, PrivilegedOperators, Contributors, or VaultOwners. Each grant or revoke works on a single user (--user) or group (--group).

On a local profile, devo admin role list and devo admin access permission-sets aren't available: role lists are for Devolutions Cloud, and permission sets for Devolutions Server.

Devolutions Cloud only

TASK
COMMAND
WORKSPACE

Review and clean up invitations

devo admin invitation list devo admin invitation get --invitation-id <invitation-id> devo admin invitation remove-email --id <invitation-id> --email <email> --yes devo admin invitation delete --id <invitation-id> --yes

Devolutions Cloud

Manage system permissions

devo admin access system list devo admin access system get --user-id <user-id> devo admin access system grant --user-id <user-id> --permission <permission> --yes devo admin access system revoke --group-id <group-id> --permission <permission> --yes

Devolutions Cloud

Manage system vault roles

devo admin access system-vault list devo admin access system-vault get --user-id <user-id> devo admin access system-vault grant --user-id <user-id> --role-id <role-id> --yes devo admin access system-vault revoke --group-id <group-id> --yes

Devolutions Cloud

Review or remove Devolutions Gateway instances

devo admin gateway list devo admin gateway get --gateway-id <gateway-id> devo admin gateway settings get devo admin gateway delete --gateway-id <gateway-id> --yes The results never include the gateways' secrets.

Devolutions Cloud

See or change the organization owner

devo admin owner get devo admin owner set --user-id <user-id> --yes

Devolutions Cloud

Review or change system settings

devo admin settings get devo admin settings update --force-two-factor-authentication --yes

Devolutions Cloud

Devolutions Server only

TASK
COMMAND
WORKSPACE

Restore or purge deleted users

devo admin user trash list devo admin user trash restore id:<user-id> --yes devo admin user trash purge id:<user-id> --yes

Devolutions Server

Preconfigure a user's two-factor method

devo admin user 2fa set --user-security-id <id> --type google-authenticator --yes devo admin user 2fa clear --user-security-id <id> --yes

Devolutions Server

Inspect Active Directory domains

devo admin domain list devo admin domain users --domain <domain-name>

Devolutions Server

Review or change authentication settings

devo admin settings auth-modes get devo admin settings auth-modes set --domain true --azure-ad false --yes devo admin settings two-factor get auth-modes set turns domain, Azure AD, and custom authentication (--custom) on or off with true or false. Options you leave out keep their value. Devolutions CLI refuses a change that would leave no primary authentication mode turned on.

Devolutions Server

Review and register licenses

devo admin license list devo admin license users list --serial-env <VARIABLE_NAME> devo admin license register --serial-env <VARIABLE_NAME> --yes devo admin license trial start --yes The serial or license JWT comes from an environment variable (--serial-env) or a file (--serial-file), never from the command line. license list shows serials partly hidden. Add --replace to replace the existing licenses, and --auto-assign true to assign supported licenses to new users automatically.

Devolutions Server

Review privileged access

devo admin pam account list devo admin pam provider list devo admin pam provider get --provider-id <provider-id> pam account list returns 100 accounts per page by default (--page, --page-size up to 500), optionally for one folder (--vault-id). The results don't include passwords.

Devolutions Server

Publish Devolutions Gateway revocation lists

devo admin gateway revocation-list publish --yes Add --gateway-id <gateway-id> to publish the list of one gateway only.

Devolutions Server

Devolutions Server selects deleted users by ID only, and devo admin user trash list takes no name filter there. devo admin domain list doesn't show the domain's bind secrets.

Good to know

Next

Last updated

Was this helpful?