Skip to content
Docs
Qubitara Central

Certificate and secret rotation

Updated Version 1CENTRAL-79

Every connection depends on a secret that expires or should be replaced on a schedule: Central's SAML signing certificate, each application's SCIM bearer token, and the client secret of an inbound provider such as Microsoft Entra ID. This page gives the procedure for each and a recommended cadence, so that a rotation is a planned change rather than an outage.

Recommended cadence#

Secret

Rotate

Also rotate when

Central SAML signing certificate

Before its expiry date, shown on the SSO Config screen

Never otherwise; it is shared by every application

SCIM bearer token, per application

Yearly, or per the application vendor's expiry

Someone who knew the token leaves; the token is exposed in a log or ticket

Entra client secret (Microsoft 365)

Before the expiry set when it was created; Entra allows up to 24 months

A person with access to the registration leaves

API keys

Yearly, or at the expiry set at creation

The holder leaves; the key is exposed

Webhook signing secret

Yearly

The receiving system is compromised or replaced

Put every expiry date in a shared calendar with a reminder 30 days ahead.

Rotating Central's SAML signing certificate#

Central signs every assertion with this certificate. Any application still holding the old certificate refuses sign-in once the new one is in use, so the order of operations matters.

  1. Go to Access → Applications and list every application whose SSO Config uses SAML. This is the list you must update.

  2. Sort the list into two groups: applications configured from the Metadata URL that re-read metadata automatically, and applications holding a pasted or uploaded certificate. Only the second group needs manual work.

  3. Before the changeover, download the new certificate from SSO Config → Qubitara IdP values as .pem, .cer or Metadata.xml.

  4. For each application in the second group, open its SAML settings and add the new certificate. Where the application allows more than one identity provider certificate, add it alongside the old one; where it allows only one, replace the old one at the moment of changeover.

  5. Test SP-initiated and IdP-initiated sign-in for each application with a test user.

  6. After every application has been verified, remove the old certificate from applications that allowed two.

Expected result: every application signs people in with the new certificate, and the Activity tab of each shows successful sign-ins after the changeover.

Rotating a SCIM bearer token#

  1. In the application's provisioning settings, generate a new token. On most applications the old token stops working immediately, so do this step and the next together.

  2. In Central, go to Access → Applications, open the application, open the Provisioning tab, and click Configure SCIM →.

  3. Paste the new token into Bearer token and click Test Connection.

  4. Save, then click Sync Now.

Expected result: Connected, HTTP 200 on the test, and a Completed run on the Sync Logs tab. Rows returning 401 mean the old token is still stored; repeat step 3.

Applications with a fixed token lifetime, such as AWS IAM Identity Center (one year) and Atlassian (an expiry shown on the identity provider page), also show the expiry in their own console; note it in the calendar.

Rotating the Entra client secret (Microsoft 365)#

The client secret authenticates Central's inbound sync to Microsoft Graph. It expires on the date chosen when it was created; when it does, the sync stops with a "Connection failed" status.

  1. In the Microsoft Entra admin center, go to Entra ID → App registrations, open the Qubitara Central registration, and open Certificates & secrets.

  2. Click New client secret, give it a description and an expiry, and add it. Copy the Value now; Entra shows it once.

  3. In Central, open the Microsoft 365 connection's Connection tab, paste the value into Client Secret, and click Save Connection Settings.

  4. Click Test Connection in the header, then Run Sync on the Provisioning tab.

  5. Back in Entra, delete the old secret once the sync has completed.

Expected result: the Overview tab shows Connection verified with today's date and the sync run ends Completed.

Rotating an API key#

  1. Go to Operations → Developer Portal → API keys and create a new key with the same scopes.

  2. Update the integration that uses the key, then revoke the old key.

Expected result: the integration's next call succeeds with the new key, and calls with the old key return 401.

Rotating a webhook signing secret#

  1. Go to Operations → Webhook Deliveries, open the endpoint, and regenerate the signing secret.

  2. Update the receiving system's configuration.

  3. Send a test delivery or wait for the next event, and confirm the receiver verifies the signature.

Expected result: the delivery history shows a 2xx response after the change.

Related#