- Qubitara Central
- Security and compliance
- Certificate and secret rotation
Certificate and secret rotation
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.
Go to Access → Applications and list every application whose SSO Config uses SAML. This is the list you must update.
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.
Before the changeover, download the new certificate from SSO Config → Qubitara IdP values as
.pem,.cerorMetadata.xml.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.
Test SP-initiated and IdP-initiated sign-in for each application with a test user.
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#
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.
In Central, go to Access → Applications, open the application, open the Provisioning tab, and click Configure SCIM →.
Paste the new token into Bearer token and click Test Connection.
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.
In the Microsoft Entra admin center, go to Entra ID → App registrations, open the Qubitara Central registration, and open Certificates & secrets.
Click New client secret, give it a description and an expiry, and add it. Copy the Value now; Entra shows it once.
In Central, open the Microsoft 365 connection's Connection tab, paste the value into Client Secret, and click Save Connection Settings.
Click Test Connection in the header, then Run Sync on the Provisioning tab.
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#
Go to Operations → Developer Portal → API keys and create a new key with the same scopes.
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#
Go to Operations → Webhook Deliveries, open the endpoint, and regenerate the signing secret.
Update the receiving system's configuration.
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#
SAML identity provider values: downloading the certificate.
Add a custom SCIM outbound application: the token section in context.
Least-privilege permissions: what the Entra client secret is allowed to do.
Architecture and data: how secrets are stored.