Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Dashlane CLI

$ dcli Official High Risk
Dashlane · Security & Secrets · Apache-2.0 · macos / linux / windows

Dashlane CLI (dcli) provides terminal access to Dashlane vaults for retrieving passwords, notes, OTPs, and injecting secrets into templates/subprocesses (dcli inject / dcli exec). Supports -o json structured output and headless CI authentication via DASHLANE_SERVICE_DEVICE_KEYS.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install dashlane/tap/dashlane-cli
CLI vs MCP Decision CLI Preferred vs MCP

dcli inject and dcli exec resolve dl:// secret references locally into config files or subprocess env vars without sending secrets through an LLM/MCP loop.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports -o json, dl:// secret URIs, dcli exec, and headless DASHLANE_SERVICE_DEVICE_KEYS auth after initial device setup.

  • Native -o json output and dcli exec / dcli inject
  • Headless CI auth via DASHLANE_SERVICE_DEVICE_KEYS
Trust & Safety 19 / 25

dcli exec avoids stdout secret leakage and service device keys allow scoped headless access, though dcli password prints plaintext secrets.

  • dcli exec prevents plaintext vault values in stdout
  • High-sensitivity vault access requires careful scoping
Setup & Portability 13 / 15

Prebuilt binaries via Homebrew tap and GitHub releases for macOS, Linux, and Windows.

  • Single-binary releases across macOS, Linux, and Windows
Utility & Efficiency 13 / 15

Covers vault lookup, TOTP retrieval, template injection, and env execution cleanly.

  • dl:// URI workflow mirrors op:// patterns
Maintenance & Lineage 10 / 10

First-party official Dashlane CLI (Dashlane/dashlane-cli) under Apache-2.0.

  • Official Dashlane/dashlane-cli repository
Docs & Verifiability 8 / 10

Dedicated CLI docs portal at cli.dashlane.com and structured --help.

  • Official docs at cli.dashlane.com

Security, Auth & Guardrails

Auth Modes
Env API Key OS Keychain Config File
Credential Storage

Stores encrypted local vault state in ~/.dashlane/ and OS keychain; CI runs authenticate headlessly via DASHLANE_SERVICE_DEVICE_KEYS.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Apache-2.0 open-source CLI; requires a Dashlane account (service device keys require paid team/business plans).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Dashlane CLI (dcli) Agent Rules
- Prefer `dcli exec` over `dcli password` so vault secrets pass straight to child processes without entering transcripts.
- Use scoped `DASHLANE_SERVICE_DEVICE_KEYS` in CI and never commit rendered `dcli inject` output files.

Agent-Ready Command Recipes

Safe Read-Only Queries

Sync and query vault metadata as JSON
dcli sync && dcli password -o json title=GitHub

Refreshes the encrypted local vault cache and outputs matching credential entries using -o json.

Inject secrets into a subprocess environment
dcli exec --env-file .env.tpl -- ./scripts/deploy.sh

Resolves dl:// references from .env.tpl directly into ./scripts/deploy.sh without printing secret values.

Controlled Writes & Previews

Inject secrets into a rendered config file
dcli inject -i config.tpl.yml -o config.yml

Replaces dl:// secret placeholders from config.tpl.yml into config.yml locally.

Strengths for Agents

  • + dcli exec and dcli inject resolve dl:// references cleanly without leaking secrets into stdout.
  • + Dedicated DASHLANE_SERVICE_DEVICE_KEYS enables non-interactive CI/CD usage.

Caveats & Pitfalls

  • ! Interactive master password / email verification is required if DASHLANE_SERVICE_DEVICE_KEYS is not provisioned.
  • ! dcli sync is often needed before queries to avoid stale local vault caches.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI