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

Workspace, vault, and variable commands

This page describes every devo workspace, devo vault, and devo variable command and every option you can type with it. For the short list of all commands, see Commands. For step-by-step help, see Manage vaults and entries and Use custom variables. The options that every command accepts, such as --context, --output json, or --non-interactive, are described in Global options and aren't repeated here. For the entry commands, see Entry commands.

To see the help of a command, with its exact wording, run devo <command> --help, for example devo vault list --help.

How these commands work

  • Selecting a workspace or a vault: commands take its name by default, matched exactly, without regard to case. To pass an ID instead, write id:<value> or add --id. name:<value> forces a name. Exceptions are listed under each command, such as devo workspace delete, which needs the exact workspace ID.

  • Current workspace and current vault: most commands work in the current workspace and the current vault. Set them with devo workspace use and devo vault use. To use another context for one command, add --context <name>. See Switch between workspaces.

  • Confirming a change: every command that creates, changes, or deletes something refuses to run without --yes (aliases -y and --confirmed) and stops with confirmationRequired. Nothing is changed.

  • Workspace types: a command that the selected workspace doesn't support stops with operationNotSupportedBySource (Devolutions Cloud, Devolutions Server) or with a code that says the local profile can't do it. See A command says the workspace doesn't support it.

Command groups

GROUP
COMMANDS

devo workspace

list (ls), current, use, create, delete (rm)

devo workspace variable

list (ls), set, delete (rm)

devo vault

list (ls), get, current, use, create, create-many, update, delete (rm)

devo vault settings

get

devo vault template

list (ls)

devo vault access

list (ls), grant, revoke (rm)

devo vault variable

list (ls), set, delete (rm)

devo variable

export

devo workspace list

Lists the workspaces you can use, with their name, ID, kind, and whether each one is available, the current one, and the default one. The current workspace is marked with *. A new local profile without any workspace returns an empty list. Alias: devo workspace ls.

Workspace: All workspace types

This command has no options of its own.

devo workspace current

Shows the current workspace.

Workspace: All workspace types

This command has no options of its own.

devo workspace use

Makes a workspace the current one.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<workspace>

Required. Workspace name, or its ID with id:<value> or --id. An unknown workspace stops with workspaceNotFound.

--id

Off

Treats <workspace> as an ID.

--password-env <variable>

Environment variable that holds the password of the workspace. When you pass it, the variable must exist, otherwise the command stops with invalidParameterValue. A local profile doesn't need a password to select a workspace.

On Devolutions Cloud and Devolutions Server, the command stops with operationNotSupportedBySource: select another workspace with --context or devo context use.

devo workspace create

Creates a SQLite workspace in the local profile folder and, unless you add --no-set-current, makes it the current one. The passphrase you give protects the new workspace.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<name>

Required. Name of the workspace. Without --path, it's also the database file name.

--kind <kind>

sqlite

Kind of workspace. A local profile creates sqlite workspaces only; any other kind stops with operationNotSupportedBySource.

--path <file-name>

<name>.db

File name of the database, created in the profile folder. Pass a file name, not a path with folders: a path stops with invalidParameterValue. .db is added if the name doesn't end with it.

--passphrase-file <file>

Private file that holds the passphrase that protects the new workspace. Devolutions Cloud and Devolutions Server refuse this option.

--passphrase-env <variable>

Environment variable that holds the passphrase that protects the new workspace. Devolutions Cloud and Devolutions Server refuse this option.

--password-env <variable>

Environment variable that holds password material for the workspace. A local profile refuses it: use --passphrase-file or --passphrase-env.

--no-set-current

Off

Creates the workspace without making it the current one.

--yes (-y, --confirmed)

Off

Confirms the creation. Required.

On a local profile, pass exactly one of --passphrase-file and --passphrase-env. With neither, or both, the command stops with invalidParameterValue. On Devolutions Cloud and Devolutions Server, the command stops with operationNotSupportedBySource, with or without --password-env.

devo workspace delete

Deletes a SQLite workspace of the local profile: its database file, and its temporary files, are deleted from the profile folder. This can't be undone. Alias: devo workspace rm.

Available on Windows only. On macOS and Linux, the command stops with sqliteWorkspaceDeleteUnsupported (exit code 3).

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<workspace>

Required. The exact workspace ID that devo workspace list shows, such as sqlite:Connections.db, with or without the id: prefix. A workspace name isn't accepted.

--id

Off

Treats <workspace> as an ID. Not needed when you pass the sqlite: ID.

--yes (-y, --confirmed)

Off

Confirms the deletion. Required.

devo workspace variable list

Lists the custom variables of the current workspace, with their name, value, scope, source, and description. Values are shown in plain text, except for variables whose name, or one of whose stored fields, contains password, secret, token, encrypt, protected, or safevalue: their value comes back empty and they are marked redacted. Alias: devo workspace variable ls.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<name>

All variables

Optional name filter, without regard to case. * matches any text and ? one character. Without a wildcard, the name must match exactly. The $ delimiters are optional.

devo workspace variable set

Creates a custom variable of the current workspace, or updates it if it exists. The value comes from an environment variable or a file, never from the command line.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<name>

Required. Variable name: letters, numbers, and underscores only. The $ delimiters are optional; the name is saved in uppercase, between $ signs.

--value-env <variable>

Environment variable that holds the value. The variable must exist.

--value-file <file>

File that holds the value. The whole content is used as is, including a final line break.

--description <text>

Unchanged

Description of the variable. Without it, an existing description is kept.

--yes (-y, --confirmed)

Off

Confirms the change. Required.

Pass exactly one of --value-env and --value-file: both stop with conflictingOptions, neither with missingParameter. Setting the same value and description again stops with sqliteVariableUpdateNoChanges. Changes need an unencrypted local database.

devo workspace variable delete

Deletes custom variables of the current workspace. Alias: devo workspace variable rm.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<name>…

Required. One or more variable names. If a name doesn't exist, or appears twice, the command fails and deletes nothing.

--yes (-y, --confirmed)

Off

Confirms the deletion. Required.

devo vault list

Lists the vaults of the current workspace, with their name, ID, and type. The current vault is marked. Alias: devo vault ls.

Workspace: All workspace types

OPTION
DEFAULT
WHAT IT DOES

<vault>

All vaults

Optional. Keeps only the vault with this name, or this ID with id:<value> or --id. The name is matched exactly, without regard to case, on every workspace type. On Devolutions Cloud and Devolutions Server, the vaults are sorted by name.

--id

Off

Treats <vault> as an ID.

devo vault get

Shows one vault.

Workspace: All workspace types

OPTION
DEFAULT
WHAT IT DOES

<vault>

Required. Vault name, or its ID with id:<value> or --id. The name is matched exactly, without regard to case, on every workspace type. When no vault matches, the command stops with vaultNotFound; when several vaults share the name, with vaultSelectorAmbiguous: use the ID.

--id

Off

Treats <vault> as an ID.

devo vault current

Shows the current vault.

Workspace: All workspace types

This command has no options of its own.

devo vault use

Makes a vault the current one. Entry commands then work in this vault unless you pass --vault-name or --vault-id.

Workspace: All workspace types

OPTION
DEFAULT
WHAT IT DOES

<vault>

Required. Vault name, or its ID with id:<value> or --id. The name is matched exactly, without regard to case, on every workspace type. When several vaults share the name, the first one found becomes the current vault: use the ID to be sure. An unknown vault stops with vaultNotFound.

--id

Off

Treats <vault> as an ID.

devo vault create

Creates a vault.

Workspace: Devolutions Cloud, Devolutions Server

OPTION
DEFAULT
WHAT IT DOES

<name>

Required. Name of the new vault. An empty name stops with missingParameter.

--description <text>

Description of the new vault.

--yes (-y, --confirmed)

Off

Confirms the creation. Required.

devo vault create-many

Creates several vaults in one command, one after the other, and reports for each name whether it was created or failed.

Workspace: Devolutions Cloud, Devolutions Server

OPTION
DEFAULT
WHAT IT DOES

<name>…

Required. One or more vault names.

--description <text>

Description given to every vault created.

--yes (-y, --confirmed)

Off

Confirms the creation. Required.

A failure doesn't stop the others. When some vaults were created and others weren't, the result says partialFailure; when none was created, vaultCreateFailed.

devo vault update

Renames a vault or changes its description.

Workspace: Devolutions Cloud, Devolutions Server

OPTION
DEFAULT
WHAT IT DOES

<vault>

Required. Vault name, or its ID with id:<value> or --id.

--id

Off

Treats <vault> as an ID.

--new-name <name>

Unchanged

New vault name.

--description <text>

Unchanged

New vault description. An empty value is ignored, so this command can't clear a description.

--yes (-y, --confirmed)

Off

Confirms the change. Required.

Pass at least one of --new-name and --description, otherwise the command stops with missingParameter.

devo vault delete

Deletes a vault. Alias: devo vault rm.

Workspace: Devolutions Cloud, Devolutions Server

OPTION
DEFAULT
WHAT IT DOES

<vault>

Required. Vault name, or its ID with id:<value> or --id. On Devolutions Cloud, only the ID is accepted: a name stops with cloudVaultCanonicalIdRequired.

--id

Off

Treats <vault> as an ID.

--permanently

Off

Devolutions Cloud: deletes the vault permanently instead of moving it to the recycle bin. Ignored by Devolutions Server.

--yes (-y, --confirmed)

Off

Confirms the deletion. Required.

devo vault settings get

Shows the root settings of the current vault, or of the vault you name: description, root entry, and tag configuration mode. The result is read only.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<vault>

Current vault

Optional. Vault name, or its ID with id:<value> or --id.

--id

Off

Treats <vault> as an ID.

This command works only when the profile allows it.

devo vault template list

Lists the vault templates of the profile, with their name and ID. Alias: devo vault template ls.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

--vault-id <id>

All templates

Keeps the vault template with this ID. The value is matched against the templates, not against your vaults.

--vault-name <name>

All templates

Keeps the vault template with this name, without regard to case. Ignored when --vault-id is given.

devo vault access list

Lists the users and groups that have access to a vault, with their role. Alias: devo vault access ls.

Workspace: Devolutions Cloud

OPTION
DEFAULT
WHAT IT DOES

<vault>

Required. Vault name, or its ID with id:<value> or --id.

--id

Off

Treats <vault> as an ID.

--user <user>

Everyone

Keeps one user: name by default, or id:<value>, name:<value>, or email:<value>. A bare GUID is read as an ID.

--group <group>

Everyone

Keeps one user group: name by default, or id:<value> or name:<value>. A bare GUID is read as an ID.

--application <application>

Keeps one application identity. Devolutions Cloud refuses it with cloudVaultAccessApplicationUnsupported.

--case-sensitive

Off

Matches names and emails with regard to case. By default, the case doesn't matter. A user name matches the user name or the display name; an email matches the email or the sign-in email; a group name matches the group name.

Use at most one of --user, --group, and --application, otherwise the command stops with conflictingOptions.

devo vault access grant

Gives one user or one group a role on a vault.

Workspace: Devolutions Cloud

OPTION
DEFAULT
WHAT IT DOES

<vault>

Required. Vault name, or its ID with id:<value> or --id.

--id

Off

Treats <vault> as an ID.

--user <user>

User who gets the role: name by default, or id:<value>, name:<value>, or email:<value>. A bare GUID is read as an ID.

--group <group>

User group that gets the role: name by default, or id:<value> or name:<value>. A bare GUID is read as an ID.

--application <application>

Application identity that gets the role. Devolutions Cloud refuses it with cloudVaultAccessPrincipalUnsupported.

--role <role>

Vault role, by name or ID, without regard to case: Restricted, Readers, PrivilegedReaders, Operators, PrivilegedOperators, Contributors, or VaultOwners. An unknown role stops with cloudVaultRoleNotFound.

--case-sensitive

Off

Matches names and emails with regard to case. By default, the case doesn't matter. A user name matches the user name or the display name; an email matches the email or the sign-in email; a group name matches the group name.

--yes (-y, --confirmed)

Off

Confirms the change. Required.

Pass exactly one of --user and --group: none stops with missingParameter, several with conflictingOptions. When the name matches several users or groups, the command stops with principalAmbiguous: use the ID.

devo vault access revoke

Removes the access of one user or one group to a vault. Alias: devo vault access rm.

Workspace: Devolutions Cloud

OPTION
DEFAULT
WHAT IT DOES

<vault>

Required. Vault name, or its ID with id:<value> or --id.

--id

Off

Treats <vault> as an ID.

--user <user>

User whose access is removed: name by default, or id:<value>, name:<value>, or email:<value>.

--group <group>

User group whose access is removed: name by default, or id:<value> or name:<value>.

--application <application>

Application identity whose access is removed. Devolutions Cloud refuses it with cloudVaultAccessPrincipalUnsupported.

--all

Off

Removes every access assignment of the vault. Can't be combined with --user, --group, or --application. Devolutions Cloud refuses it with cloudVaultAccessPrincipalUnsupported: revoke one user or group at a time.

--case-sensitive

Off

Matches names and emails with regard to case. By default, the case doesn't matter. A user name matches the user name or the display name; an email matches the email or the sign-in email; a group name matches the group name.

--yes (-y, --confirmed)

Off

Confirms the removal. Required.

devo vault variable list

Lists the custom variables of the current vault, or of the vault you name, with their name, value, scope, source, and description. Values are shown in plain text, except for variables whose name, or one of whose stored fields, contains password, secret, token, encrypt, protected, or safevalue: their value comes back empty and they are marked redacted. Alias: devo vault variable ls.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<name>

All variables

Optional name filter, without regard to case. * matches any text and ? one character. Without a wildcard, the name must match exactly. The $ delimiters are optional.

--vault <vault>

Current vault

Vault name, or its ID with id:<value> or --id. An unknown vault stops with vaultNotFound.

--id

Off

Treats --vault as an ID.

devo vault variable set

Creates a custom variable of the current vault, or of the vault you name, or updates it if it exists. The value comes from an environment variable or a file, never from the command line.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<name>

Required. Variable name: letters, numbers, and underscores only. The $ delimiters are optional; the name is saved in uppercase, between $ signs.

--value-env <variable>

Environment variable that holds the value. The variable must exist.

--value-file <file>

File that holds the value. The whole content is used as is, including a final line break.

--description <text>

Unchanged

Description of the variable. Without it, an existing description is kept.

--vault <vault>

Current vault

Vault name, or its ID with id:<value> or --id.

--id

Off

Treats --vault as an ID.

--yes (-y, --confirmed)

Off

Confirms the change. Required.

Pass exactly one of --value-env and --value-file: both stop with conflictingOptions, neither with missingParameter. Setting the same value and description again stops with sqliteVariableUpdateNoChanges. Changes need an unencrypted local database.

devo vault variable delete

Deletes custom variables of the current vault, or of the vault you name. Alias: devo vault variable rm.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

<name>…

Required. One or more variable names. If a name doesn't exist, or appears twice, the command fails and deletes nothing.

--vault <vault>

Current vault

Vault name, or its ID with id:<value> or --id.

--id

Off

Treats --vault as an ID.

--yes (-y, --confirmed)

Off

Confirms the deletion. Required.

devo variable export

Writes the custom variables of one scope to a JSON file. Each variable is written with its name, value, description, scope, and source. As with list, a variable whose name, or one of whose stored fields, contains password, secret, token, encrypt, protected, or safevalue is written with an empty value. Exporting only reads the variables: it doesn't need --yes, and it works for every scope, including the ones you can't change from Devolutions CLI. variable export is the only devo variable command.

Workspace: Local profile

OPTION
DEFAULT
WHAT IT DOES

--scope <scope>

Required. Which variables to export, without regard to case: workspace (the variables of the current workspace), vault (the variables of a vault), option (also written options: the variables saved in the Devolutions Remote Desktop Manager options file of the profile; a value saved in obfuscated form comes back empty and is marked unavailable), or user-vault (also written uservault: accepted, but a local profile has no user vault variables, so the file holds an empty list). Any other value stops with invalidVariableScope.

--out-file <file>

Required. JSON file to write. Its folder must exist (directoryNotFound otherwise), and the path can't be a folder.

--force

Off

Replaces the file if it exists. Without it, an existing file stops the command with fileExists.

--vault <vault>

Current vault

For the vault and user-vault scopes, the vault to export: name, or ID with id:<value> or --id.

--id

Off

Treats --vault as an ID.

--name <filter>

All variables

Keeps only the variables whose name matches, without regard to case. * matches any text and ? one character.

Last updated

Was this helpful?