Skip to content

Warden documentation

Warden is a Salesforce CLI plugin for managing users over their lifetime. You can audit access, compare users with the access they should have, provision users from reusable personas, and freeze, restore, and snapshot users safely.

These docs are for Salesforce admins and developers. Start with Getting started, then come back to the guides below when you need the details of one workflow.

The 74-second walkthrough above follows a user through the whole lifecycle in the terminal: promote personas, provision, audit, compare, pause, revoke, and offboard. It starts muted; turn the sound on from the player controls.

Start here

  • Getting started: install Warden, define key terms, and run your first audit and provisioning plan.

Guides

  • Access audits: who can access a target, what a user can access, and where each grant comes from.
  • Provisioning: how provisioning merges personas, field precedence, assignment modes, dry runs, and the example definition files.
  • Command details: diff, access, snapshot and restore, and the lifecycle commands, including persona-scoped strip.
  • User matching: which fields identify a user, fuzzy Username matching, and how lifecycle commands pick their targets.
  • Related-record provisioning: catalogs, before/after phases, context lookups, and User linking.
  • Persona promotion: keep personas in an org, and move them with export, import, and diff.
  • Lifecycle output and snapshots: resolved identities, assignment labels, snapshots, and action reports.
  • Interactive mode: -i prompts for the flags you leave out.

Reference

Optional integrations

  • Connected org writes: the optional provisioning ledger and run log, and the persona revocation records strip writes, in orgs with warden-base.
  • sfd operations: use Warden through the warm sfd daemon, including plan-gated writes.

For contributors

  • CLI/core architecture: implementation ownership, plan/apply boundaries, output compatibility adapters, and the warden-base contract pin.