Managing your devices
dcli devices list
You'll get a list of all your devices, with their ID, name, and platform.
f6110572 Chrome - Linux server_standalone other
e96c8942 Firefox - Ubuntu server_standalone other
9d7fc86f Chrome - Mac OS server_standalone other
61e815b5 Dashlane CLI server_standalone current
You can also request the result in JSON format:
dcli devices list --json
Devices that are removed from your account will need to re-authenticate to Dashlane again. This is useful if you want to remove a device that you no longer use, or you don't have access to anymore.
dcli devices remove <device-id-1> <device-id-2>
dcli devices remove --others
dcli devices remove --all
If you remove the current CLI device, you will need to do a
dcli logout in order to re-authenticate.
In case you want to access your vault in non-interactive environment like CIs or servers, you can register a new device with the
dcli devices register "my_server"
Note that you will be prompted to validate the registration with a second factor authentication.
This will create a new device named
my_server and will print the device credentials.
Save them in a safe place (like in a secure note), as you won't be able to retrieve them later.
Run the suggested commands on your target device (your server or CI) to set the device credentials as environment variables.
export DASHLANE_MASTER_PASSWORD=<insert your master password here>
<insert your master password here> with your actual master password.
OTP at each login and SSO are not supported for non-interactive devices. We recommend creating a dedicated Dashlane account for your non-interactive devices.
Once you've set the environment variables, you can use the CLI to retrieve passwords, otp and notes and no interactive prompts will be shown.