Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

OIDC secret rotation is zero-downtime: old and new client secrets can co-exist (Azure / Entra ID)

게시 일자: Sep 18, 2026
상세 설명

This article applies to APIs protected by the OpenID Connect Access Token Enforcement policy where the external OIDC client provider is Microsoft Entra ID (Azure AD) — the most common OIDC provider used with Anypoint. Customers often ask whether rotating a client secret will cause downtime, or whether the old and new secrets can be valid at the same time.

They can. When you rotate a client secret, the old and new secrets can be active simultaneously on the provider, so rotation causes no downtime — consumers keep working on the old secret while they are migrated to the new one.

This is because, with this policy, the consumer sends only a bearer token to the Mule API — never the client_id/secret. The secret is used only at the IdP token endpoint to obtain a token. So while both secrets are valid:
- An app still on the old secret can keep getting tokens with it.
- An app updated to the new secret immediately starts getting tokens with the new secret.

Both work in parallel, so there is no cutover moment where traffic breaks.

솔루션

Both rotation methods add a new secret without removing the old one:
1. Add a new secret on the provider (Azure) side, or
2. Rotate from the Anypoint Platform client application settings. 

Either way, the previous secret stays valid until you explicitly remove it (or it expires).

추가 자원

Recommended zero-downtime steps:

1. Add the new secret — do not delete the old one yet.
2. Update each consuming app to the new secret. It immediately starts acquiring tokens with the new secret.
3. Once all apps are on the new secret, remove the old one.

Knowledge 기사 번호

005460260

 
로드 중
Salesforce Help | Article