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

Find the reference to a secret

Every Devolutions CLI command that uses a secret takes a reference: the address of one field, starting with devo://. Finding a reference never reads the secret, so you can do it anywhere, including in front of an AI agent or in a shared terminal.

Find the entry

If you don't know the exact name of the entry, search for it first:

devo entry list "<search-text>" --vault-name "<vault-name>"

devo entry list returns up to 100 entries by default (--limit changes that). You can also filter by entry type with --type. To search another workspace than the current one, add --context <context-name>. See Switch between workspaces.

List the references of the entry

devo entry references "<entry-name>" --vault-name "<vault-name>"

To select the entry by ID, write id:<entry-id> or add --id. devo secret catalog entry takes the same arguments and returns the same result.

Devolutions CLI prints one line per field that it can resolve, with the reference to copy:

Secret references: 2
password (secret): devo://ws/<workspace-id>/vault/<vault-id>/entry/<entry-id>/field/password
username: devo://ws/<workspace-id>/vault/<vault-id>/entry/<entry-id>/field/username

The command looks at the password, username, host, domain, and url fields of the entry. It shows the canonical reference whenever the IDs are known, and the named reference otherwise. With --output json, each field lists both forms. See Read results as JSON.

Named or canonical reference

FORM
LOOKS LIKE
USE IT WHEN

Named

devo://<workspace>/<vault>/<entry>/<field>

You want a reference people can read. It resolves against the current context, or the one you select with --context, and stops working if the entry or the vault is renamed.

Canonical

devo://ws/<workspace-id>/vault/<vault-id>/entry/<entry-id>/field/<field>

You commit the reference or share it. It keeps working after a rename, and it always resolves against the workspace that owns it, whatever context is selected. One command can mix canonical references from several workspaces.

On Devolutions Server, devo entry references lists canonical references only.

Each part of a reference is URL-decoded. If a name contains a / or a #, write it as %2F or %23.

Point at a field in a section

On a local profile, some entries group fields in sections. In a named reference, add the section between the entry and the field:

devo secret get takes the section with --section. Sections work with local profiles only: Devolutions Cloud and Devolutions Server refuse a reference with a section, and canonical references have no section.

Read an attribute instead of the value

Add ?attribute= (or ?attr=) to a reference to read something else than the value. devo secret read and devo secret get also accept --attribute.

ATTRIBUTE
WHAT YOU GET

value

The secret value. This is the default.

type

The kind of field. The values depend on the workspace type.

id

The ID of the entry.

title

The name of the entry. Empty for a canonical reference on Devolutions Cloud and Devolutions Server.

purpose

On Devolutions Cloud and Devolutions Server, why the value was requested, such as read. Empty on a local profile.

type, id, title, and purpose are value-free reads: Devolutions CLI returns them without reading the secret, on Devolutions Cloud, Devolutions Server, and local profiles.

This is a safe first check of a reference, without reading the secret:

Put the reference in quotes so your shell doesn't interpret the ?. A success confirms that the reference is well formed and, for a named reference or on a local profile, that the vault and the entry exist. It doesn't prove that the field can be read: on Devolutions Cloud and Devolutions Server, a canonical reference isn't looked up at all. Only reading the value confirms the field.

Which fields each workspace type can read

devo secret capabilities describes, for Devolutions Cloud, Devolutions Server, and local profiles, which fields can be read and written. It doesn't read any context or secret. Add --output json for the full list of fields; the text output shows only a summary.

If it doesn't work

Next

Last updated

Was this helpful?