OpenBao SSO with Microsoft Entra ID (OIDC)

Use tenant-specific Entra ID login and map group object IDs to OpenBao access policies.

Last updated

On this page (5)

OpenBao · Microsoft Entra ID · OIDC

Before you start

  • Entra application administrator and OpenBao auth administrator.
  • Tenant ID, application ID and secret value.

Configure sign-in

  1. Register a tenant-scoped application and add the UI and/or localhost CLI redirect URIs documented by OpenBao.
  2. Enable the OIDC mount, configure https://login.microsoftonline.com/<tenant>/v2.0 as discovery issuer, and supply the application credentials.
  3. Create a role with a stable user claim and the groups claim. Configure Entra to emit the required group claims and map their IDs to OpenBao external group aliases.

Verify the result

  • Compare access for a mapped and unmapped account.
  • If users have many group memberships, test claim overage and use the separately documented provider-specific handling where needed.

Official documentation

Have Pilae connect your identity provider

Pilae can deploy OpenBao with your identity provider already connected. We agree the edition, account mapping and access tests with your team before rollout.