New: answer a few questions and AI writes your project scope, ready to post.

For buyers

7 min read

Azure API Management: secret rotation clauses to demand

Azure API Management attacks show why buyers need contract clauses on who rotates secrets, how fast, and what evidence of investigation they get.

By The Scopelyst teamPublished

Source: theregister.com

Azure API Management sits in front of your APIs and holds the keys that reach them. In November 2026, Microsoft told customers that an unauthorised party could have used an issue to access secrets stored in Azure API Management Classic instances. The access path was closed on 19 November, after the issue was identified on 18 November (The Register). Norway's National Security Authority linked the exposure to incidents at energy companies Equinor and Skagerak Energi (SecurityWeek).

For Scopelyst readers this is not a patch story. Patching closed the path. It did not recall the secrets. Buyers now need agreements that say who rotates credentials, in what time, and what written evidence proves the investigation happened.

What the Azure API Management incident actually exposed

The exposed material is the ordinary plumbing of an API gateway. Microsoft listed named values, client secrets tied to identity and OpenID Connect providers, subscription keys, and tokens used to call the direct management APIs (The Register). Those are credentials with reach beyond the gateway itself.

Security researcher Anders Kristiansen put the consequence plainly: "If someone obtains a credential from that configuration, they may be able to use it directly against the service it protects, outside APIM" (anderskristiansen.com). What an attacker can reach depends on each credential's permissions and whether it is still valid.

Microsoft tied exposure to Classic-tier configurations. These did not follow its network security guidance, or they stored secrets directly in the gateway rather than referencing them from Azure Key Vault (The Register). Instances on v2 tiers were not affected, the same report notes.

The lesson for a procurement file is that configuration choices become contract questions. If a supplier runs your Azure API Management gateway, someone must own every one of those credential types. Naming the service owner is not enough.

NSM deler tiltak mot sårbarhet i Azure API Management - Nasjonal sikkerhetsmyndighet
NSM deler tiltak mot sårbarhet i Azure API Management - Nasjonal sikkerhetsmyndighet Source: nsm.no

Why rotation, not remediation, is the commercial risk

The Norwegian authority told every organisation running the service to assume its secrets and named values are exposed and to rotate all tokens and secrets (NSM). It also asked organisations to map what sits behind each instance. That way the possible scope is known if evidence of compromise appears.

Microsoft's own guidance shows why rotation is a project, not a button. Updating a value in the service does not revoke the old credential at its issuer. The safe order is to create the replacement at the issuer, update the gateway, test the APIs, then revoke the old secret (Microsoft Community Hub).

That four-step order is where managed contracts leak risk. If the vendor owns the identity provider and you own the gateway, or the reverse, each step can stall while the other side waits. Meanwhile the old secret still works.

The clauses to add before the next renewal

Treat each clause as a test of whether the supplier can actually perform. If the answer is vague, the operational capability is probably vague too.

  1. Secret inventory. Require a list of credential types held in or referenced by the gateway, with an owner for each. Cover named values, client secrets, subscription keys, backend credentials, connection strings and direct management tokens.
  2. Rotation trigger and clock. State that vendor awareness of a security advisory starts the clock, not customer request. Fix the hours allowed for rotation. Give a shorter path to credentials that grant admin rights.
  3. Who does what at the issuer. Split the four steps between buyer and vendor in writing: create, update, test, revoke. Name who holds admin rights at the identity provider.
  4. Evidence pack. Require a written report. It should cover which instances were in scope, which secrets were rotated, timestamps, and how the old values were revoked.
  5. Investigation cooperation. Cover log retention, log export, and named contacts. A buyer must be able to run its own hunting without waiting on a ticket queue.
  6. Cost and liability. Say who pays for emergency rotation. Set service credits or remedies if the window is missed.
Azure Flaw Exploited to Target Secrets at Norwegian Energy Firms - SecurityWeek
Azure Flaw Exploited to Target Secrets at Norwegian Energy Firms - SecurityWeek Source: securityweek.com

What evidence to demand from a cloud or managed service provider

The gap most buyers will hit is proof. Microsoft applied a mitigation automatically. Customers still had to investigate whether their instances were compromised before the mitigation was applied (The Register). That investigation work is exactly what gets outsourced and then under-reported.

Ask for four artefacts. First, a scope list of instances with tier and runtime status. Second, rotation records per credential, with the issuer-side action named. Third, confirmation that old credentials were revoked, not just replaced. Fourth, an access review of who can edit policies or use request tracing. Policy editors and tracing can surface secret values (anderskristiansen.com).

These are not exotic demands. Microsoft maintains a built-in policy that flags gateways whose secret named values are not stored in Azure Key Vault. Another flags an enabled direct management endpoint, because it bypasses role-based access control and throttling (Microsoft Learn). A supplier should show compliance posture against both without a special project.

How to check the claim, not just the wording

Time the checks. Ask each supplier to walk through the runtime-version check published by the Norwegian authority. Versions in the 0.52 and 0.53 lines are patched only once the final number passes set thresholds. Instances on the v2 or consumption tiers are outside those thresholds (NSM). A supplier who cannot produce a version number and a screenshot is guessing.

Look for the forgotten environments. Customers who spoke to The Register warned that neglected development and test instances could leave more organisations exposed (The Register). Add a clause that every non-production instance carrying a real credential is in scope for rotation.

Check whether the old direct management endpoint is off everywhere. It was retired in March 2025, but retired is not removed. Calls to it bypass identity-based controls and are not recorded in the platform activity log (anderskristiansen.com). If it is still enabled, the supplier's monitoring cannot see what happened there.

Finally, test the escalation path in peacetime. Send a fictional advisory at 20:00 on a Friday. See who answers, how fast, and in what format. That response is the service you have actually bought.

How to manage secrets to prevent cloud breaches
How to manage secrets to prevent cloud breaches Source: tenable.com

Where to set the bar for the next agreement

The wider pattern supports being firm. A 2025 report found that 54% of organisations exposed at least one secret in AWS Elastic Container Service task definitions. It found 31% exposed one in Microsoft Azure Logic App workflow configurations (Tenable). The same study cites credential abuse as the leading initial access vector at 22%.

Cloud and DevOps suppliers are easy to find. Suppliers who can evidence rotation are not. Screen them through the Cloud & DevOps vendor directory and shortlist firms with a track record on Microsoft Azure. For assurance depth, pair that with the Azure knowledge hub guide and the wider cloud guide.

When you post a requirement, put rotation and evidence obligations in the brief itself. Buyers can post a project with those terms attached. Vendors can watch open RFPs for deals that already state them.

Frequently asked questions

Who should rotate secrets after an Azure API Management advisory?

The party that holds administrative rights at the issuer of each credential, which is often the managed service provider. The contract should name that party per credential type. It should also require the buyer to be notified before revocation, so dependent systems can be tested first.

How fast should a provider rotate exposed credentials?

Set a fixed clock that starts when the provider becomes aware, not when the customer asks. A short window for admin-level tokens and a slightly longer one for lower-privilege keys is reasonable. Emergency rotation must be a standing capability, not a change request.

Is patching enough to close the risk?

No. Microsoft closed the access path, but customers still had to investigate whether compromise occurred beforehand. The Norwegian authority advised treating all secrets and named values as exposed and rotating them (NSM). Rotation and revocation at the issuer are separate work.

What proof should a managed service provider deliver?

A written pack listing in-scope instances, rotated credentials with timestamps, confirmation that old values were revoked, and the access review of who can edit policies or use tracing. Ask for it as a contract deliverable so it cannot be treated as optional reporting.

What this means for buyers

Start with the contract you already have. Find out whether it names an owner for rotation, sets a clock from vendor awareness, and makes evidence a deliverable. In most agreements one or more of these is missing. That gap is your negotiating position at renewal.

Next, run a short inventory with every supplier touching your Azure API Management gateways. List which instances exist, which tier, which runtime, and which secrets live inside rather than in a managed vault. Close the direct management endpoint and unpublish unused developer portals before anything else.

Then change how you buy. Write the rotation and evidence clauses into the requirement. Ask bidders to show a recent rotation record, and score the answer. A supplier that can produce that record under no pressure is the one worth signing.

  • Azure API Management
  • secret rotation
  • cloud contracts
  • managed services
  • incident response

The Scopelyst team

Written by the people who run the marketplace, from what buyers and vendors do on it. No guest posts, no sponsored articles.

Read next

All articles

Put it to work

The vendors are in the directory, with every fact labelled with its source. Browse them by service, technology or country, or post your project and let matched vendors come to you.