Skip to main content
← Back to Bitwarden

Bitwarden — Integration Setup

CMDash reads your Bitwarden organization to answer one question an auditor asks of a password manager: how many members have two-step login on. It also lists failed sign-ins from the organization's event log.

Prerequisites

  • A Bitwarden Teams or Enterprise organization on Bitwarden's cloud (United States or European Union). Bitwarden offers the Public API to those plans only.
  • An organization owner: only an owner can see the organization API key.
  • Any CMDash plan. The connection uses one of your plan's integrations.

Step 1: Copy the organization API key

  1. Sign in to the Bitwarden web app and open the Admin Console.
  2. Go to Settings → Organization info and scroll to API key.
  3. Copy the client_id (it starts with organization.) and the client_secret.

Least privilege: the organization API key is the only credential Bitwarden's Public API accepts. CMDash calls two read endpoints with it and nothing else; it never creates, changes or removes members, groups, collections or policies.

Step 2: Connect in CMDash

  1. Go to Integrations and find Bitwarden.
  2. Enter:
    • API key: the client secret.
    • Organization API key client ID: the organization.… value.
    • Bitwarden server region: United States (bitwarden.com) or European Union (bitwarden.eu).
  3. Select Save & Test Connection.

On each sync CMDash trades the key for an hour-long access token at Bitwarden's identity server (client_credentials grant, api.organization scope), as Bitwarden documents.

What syncs

DataBitwarden APIWhen it cannot be read
Members, their role and status, and whether each has two-step login onGET /public/membersThe sync fails. This is the required data.
Failed sign-ins in the last 24 hours (event types 1005 and 1006)GET /public/events, every page by continuationTokenA refusal is shown as a note and no sign-in incidents are claimed. A failed later page keeps what was read and marks the sync partial.

How the numbers are computed

  • Who counts: members who hold access, meaning status Accepted or Confirmed. An invited or staged member has no account in your organization yet, and a revoked member has no access, so neither is in the count.
  • Two-step login: Bitwarden's twoFactorEnabled for each counted member. The percentage is members with it on, out of members counted.
  • Privileged accounts: members whose role is Owner or Admin.
  • Incidents: a failed sign-in is a low-severity incident. A failure at the two-step step (event 1006) is medium: the master password was right.

Troubleshooting

  • Token exchange failed (invalid_client): the client ID or secret is wrong, or the key was rotated. Copy both again from Organization info → API key.
  • Events not readable: the event log belongs to the plan. Member coverage still syncs.
  • Self-hosted Bitwarden: not supported. CMDash calls only Bitwarden's cloud hosts.

Credential rotation

Use Rotate API key on the same screen, then paste the new client secret into the connection in CMDash and save. The old key stops working as soon as it is rotated.

Ready to see your posture?

Start a 30-day free trial of Starter, Essentials and Command. A card is required. The trial runs 30 days. Your card is first charged when it ends, unless you cancel. Or sign up for Free: free forever, one framework (CMMC Level 1, Level 2 or NIST CSF 2.0) for a small team.