Abstract

When keys or credentials may have been read in a breach, responders and vendors routinely advise rotating every secret involved. What does that involve, why does it go unfinished, and what has to exist beforehand for it to work? The single instruction covers four operations: issuing replacement secrets, revoking the old ones at the system that honours them, ending sessions and tokens already issued from them, and re-establishing trust where a signing key or certificate authority was exposed. Each has its own failure modes. Published incident reports show several of them: a credential left out because it was believed unused, signing-key rotation stopped after it caused an outage, third-party platforms that limit how fast tokens can be reissued, and issued tokens that survive revocation of the secret behind them until they expire or a separate control ends them. The mechanisms point to what to build in advance. Keep an inventory that records each secret’s consumers, owner and point of revocation. Exercise automated rotation paths in normal operations, and test that old credentials fail afterwards. Where the platform allows, replace long-lived secrets with short-lived, federated or dynamically issued credentials, while protecting the issuers they depend on.

Two reminders in one week

React2Keys

On 30 November 2026 BleepingComputer reported a campaign that CloudSEK named React2Keys.1 CloudSEK’s own report says the attacker compromised “CI/CD, Cloud & AI infrastructure associated with over 400 organizations”, and its headline counts more than 50,000 keys taken from more than 19,000 victims.2 CloudSEK’s evidence came from the attacker’s own infrastructure: a 1.9-million-line exfiltration log, per-victim result folders, a toolkit of more than 900,000 files, and scan-ledger and inventory databases.2 The figures are therefore CloudSEK’s assessment of the operator’s records. The campaign’s main entry point was CVE-2025-55182, the React Server Components flaw known as React2Shell, which the React team disclosed and fixed on 3 December 2025.32 React2Keys therefore ran almost a year after a patch was available. BleepingComputer reports a ten-day run from 9 to 19 November 2026, and CSO Online reports that the discovery pipeline polled six public Certificate Transparency logs every three minutes to find newly deployed sites.14

The secrets taken are a fair sample of what a modern application server holds. BleepingComputer, citing CloudSEK, lists AWS access keys and temporary session credentials, Azure managed-identity tokens, Google Cloud service-account keys, API keys for Anthropic, OpenAI and Google Gemini, Claude Code OAuth tokens, GitHub access tokens, PostgreSQL, Redis and MongoDB credentials, and cryptocurrency exchange API keys and wallet private keys.1 CloudSEK describes tooling that “ranks secrets by monetary value, probes each against its provider and caches the verdict”, and live validation of stolen AI-provider keys against model APIs.2 CSO Online reports that the triage separated usable keys from “expired, disabled, rate-limited or credit-exhausted ones” and that some were tested against live services.4 CloudSEK also reports that stolen Claude Code login tokens were refreshed and used to run inference billed to victims’ subscriptions, that an SSH public key was planted in victims’ authorized_keys files, and that “stolen cloud tokens fund more scanning”, including a scan worker deployed as an AWS Lambda function in an account reached with stolen credentials.2

CloudSEK’s remediation section begins: “Because stolen credentials work independently of the vulnerable app, patching alone is insufficient.” It then says to “rotate everything on the host”, assuming “every environment variable and secret file is compromised”, to review every authorized_keys file, cron jobs and SSH logins, and to review workload-identity activity: Kubernetes service accounts, EKS Pod Identity, IRSA role activity and Azure managed-identity token use.2 The last instruction matters. A host with no static keys can still have handed out identity tokens.

Two management planes on 19 November

Imperva’s blog of 29 November 2026 pairs two incidents from 19 November.5 The first concerns Azure API Management (APIM) Classic. According to Microsoft’s Service Health advisory MZK9-GH0, as reported by BleepingComputer, Microsoft identified a vulnerability on 18 November and closed the unauthorised access path on 19 November. The advisory said that “an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances”.6 Microsoft listed as possibly exposed the secrets stored in named values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens for the direct management API. It warned that its remediation “does not automatically invalidate credentials that may have been accessed before the fix was deployed”.6 The list describes configuration that could have been read. It does not say which customers’ secrets were copied.

The mechanism is less settled. Microsoft’s public documentation gives 15 March 2025 as the announced retirement date of APIM’s legacy direct management API and tells customers to disable it where it is enabled.7 Imperva’s account says this endpoint remained reachable on Classic instances, relied on shared access signature tokens signed by the instance’s tenant access key, and was not recorded in the Azure Resource Manager activity log.5 An administrator quoted by BleepingComputer made similar allegations, which BleepingComputer said it had not verified.6

The second incident, also as described by Imperva, was an intrusion into a security vendor’s internal Cloud WAF management API, which was reachable from the internet without authentication. The vendor revoked and replaced its own internal credentials. Imperva writes that customers’ log-export credentials for S3, Azure Blob storage and SFTP were potentially exposed and that customers had to replace those themselves.5 Imperva’s practical point is the one this article turns on: “updating a secret in a gateway config only changes the gateway’s pointer—it leaves the old credential alive.”5 Microsoft’s warning makes the same point from the provider’s side. Closing the access path does nothing about keys already copied, and only the system that honours a key can stop honouring it.

Imperva’s advice for the Azure storage credentials needs to be split by token type. A service SAS or account SAS is signed with a storage account key. A service SAS linked to a stored access policy can be withdrawn by changing or deleting the policy, without regenerating account keys. An ad hoc service SAS or an account SAS is invalidated by regenerating the account key that signed it.8 Both types can also be blocked account-wide by disallowing Shared Key authorization: Azure Storage then denies service and account SAS requests for all its services, together with every other request authorised with the account keys, which will break legitimate consumers still using them.9 A user delegation SAS is signed with a user delegation key obtained with Microsoft Entra credentials and cannot use a stored access policy. It can be revoked by revoking the user delegation keys, which invalidates every SAS that relies on them, or by changing or removing the RBAC role assignments and POSIX ACLs of the security principal used to create it. Because Azure Storage caches both the keys and the role assignments, “there may be a delay” before an existing user delegation SAS stops working.810

What earlier cases teach

The longer history of vendor-held credentials, including Codecov, Heroku, CircleCI, Okta, Storm-0558, Snowflake and Salesloft Drift, is set out in Standing keys. Four cases are revisited here for what they show about rotation as a task.

Storm-0558: rotation that stopped

The Cyber Safety Review Board’s report of 20 March 2024 describes how an actor Microsoft calls Storm-0558 forged authentication tokens with a Microsoft account (MSA) consumer signing key created in 2016 and used them to reach Exchange Online mailboxes at 22 enterprise organisations and 503 related personal accounts.11 The key “was originally intended to be retired in March 2021, but its removal was delayed due to unforeseen challenges associated with hardening the consumer key systems”.11 The consumer system had never had automated rotation. Microsoft “continued to rotate consumer MSA keys infrequently and manually until it stopped the rotation entirely in 2021 following a major cloud outage linked to the manual rotation process”, and it had no alerting on the age of active signing keys.11 The board’s counterfactual is direct: with continued manual rotation, completed automation, or alerts for ageing keys, “the 2016 MSA key would not have been valid in 2023.”11

The case separates two states that are easy to conflate. By 2023 the 2016 key “was no longer supposed to be signing new tokens”, so Microsoft’s identity system was not using it.11 Verifiers still accepted signatures made with it, so anyone else who held it could issue tokens that worked. Rotation in the full sense needed both: stop signing with the old key, and stop relying parties accepting it. Between 24 June and 3 July 2023 Microsoft revoked the key’s ability to sign tokens, “cleared related caching data stored in downstream systems”, fixed the validation flaw that let consumer-signed tokens reach enterprise mail, and rotated other enterprise and consumer signing keys, issuing the new ones from infrastructure it considered safer.11 Microsoft’s July 2023 analysis said that “all MSA keys active prior to the incident ... have been invalidated” and that it had “revoked all previously active keys and issued new keys”.12 How the key was obtained remained undetermined at the time of the board’s report.11

Cloudflare, Thanksgiving 2023: four credentials out of thousands

Cloudflare detected an intruder on its self-hosted Atlassian server on 23 November 2023 and published its account on 1 February 2024.13 The way in was a set of credentials exposed in the October 2023 compromise of Okta’s support system, during which an attacker used a hijacked administrative Okta session to reach Cloudflare’s Okta instance.1415 Cloudflare wrote: “These credentials were meant to all be rotated. Unfortunately, we failed to rotate one service token and three service accounts (out of thousands) of credentials that were leaked during the Okta compromise.”13 They were a Moveworks service token with remote access to Atlassian, a Smartsheet service account with administrative access to Jira, a Bitbucket service account, and an account for an isolated AWS environment. The stated reason they were missed: “mistakenly it was believed they were unused.”13

The attacker began probing on 14 November and reached Jira and Confluence on 15 November.13 Among the Jira tickets it read were tickets about secret rotation. It viewed 120 code repositories and used Bitbucket’s archive feature on 76 of them. Cloudflare could not confirm whether those were exfiltrated and decided to treat them as if they had been.13 Its response was to rotate every production credential, “more than 5,000 individual credentials”, run forensic triage on 4,893 systems, and reimage and reboot every machine in its global network, in an effort called Code Red that ran from 27 November 2023 to 5 January 2024.13 It also rotated secrets found in the 76 repositories, including encrypted ones.13 The post states one cause for the miss, a mistaken judgement about use. It does not discuss how hard the four credentials would have been to rotate.

CircleCI and Codecov: rotation at someone else’s scale

CircleCI’s incident report of 13 January 2023 shows what happens when a platform holds secrets for many customers. Customer environment variables, tokens and keys were exfiltrated on 22 December 2022. The data was encrypted at rest, but the attacker extracted the encryption keys from a running process.16 On 31 December CircleCI began rotating every customer’s GitHub OAuth token. “Despite working with GitHub to increase API rate limits, the rotation process took time”: it finished on 7 January 2023.16 CircleCI revoked all project API tokens on 5 January and, on 6 January, all personal API tokens created before 5 January. Working with Atlassian, it rotated Bitbucket tokens in under four hours on 6 January, and with AWS it notified customers of potentially affected AWS tokens between 7 and 12 January.16 For the secrets customers had stored in CircleCI to reach their own systems, CircleCI recommended that customers rotate them.16

Codecov’s 2021 notice illustrates scoping from the attacker’s point of view. Its Bash Uploader script had been altered periodically from 31 January 2021 until a customer reported a checksum mismatch on 1 April, which let the attacker potentially export credentials, tokens or keys accessible to the CI runner when the script ran.17 For users who had run the uploader in that window without checking its checksum, Codecov suggested re-rolling all credentials in CI environment variables, and said running env in the pipeline would show which keys and tokens were surfaced to the CI environment.17 That shows only the current environment, and printing values copies them into the CI log.

Snowflake: credentials left unchanged for years

Mandiant’s report on UNC5537 of 10 June 2024 describes credentials that stayed valid long after they were stolen. Mandiant and Snowflake had notified about 165 organisations of potential exposure. At least 79.7 percent of the accounts the actor used had prior credential exposure, the earliest associated infostealer infection dated to November 2020, and in many cases “the credentials had not been rotated for as long as four years”. The affected accounts lacked multi-factor authentication, and network allow lists were not in use.18 The credentials leaked from machines outside Snowflake. The report does not say what the victims knew about those leaks. GitGuardian’s measurements of leaks in public GitHub commits show the same persistence at scale: of secrets it confirmed valid in 2022, nearly 70 percent were still valid when retested in January 2025 and more than 64 percent in January 2026.19

Four operations under one word

“Rotate” is used for at least four different actions. If they are treated as one, a responder can end up with a new password while an attacker is still logged in.

Replace

Replacement means issuing a new secret and putting it everywhere the old one was used. On its own it achieves nothing against an attacker who holds the old one. A new API key leaves the old key valid until someone deletes it at the provider. A password change stops further sign-ins with the old password, but sessions and tokens already issued may continue until they expire or are revoked by a separate mechanism, as described below.20 Imperva’s warning about gateway configurations applies generally: changing what a consumer points at is not the same as withdrawing the credential at its issuer.5

Revoke

Revocation happens at the system that verifies the credential: the cloud provider’s IAM, the database, the SaaS platform, the authorisation server, the certificate authority. NIST SP 800-57 Part 1 Rev. 5 states the rule for cryptographic keys. When a key is compromised, “all use of the key to apply cryptographic protection to information ... shall cease, and the compromised key shall be revoked”.21 It allows continued use of a compromised key only “under controlled circumstances” to verify or decrypt information already protected, depending on risk and the organisation’s key-management policy, with users “made fully aware of the dangers involved”.21 For signatures, NIST adds that a signature made before the compromise keeps some value only where the signed data was protected by other means from before that time, such as a trusted timestamp.21 The same section warns that once a CA’s private key is disclosed, “an adversary can create fraudulent certificates and Certificate Revocation Lists”.21

End what was already issued

Many credentials are used to obtain other credentials, and some of those remain usable after the parent is revoked. Whether they do depends on the credential type and on whether the system that accepts them checks back with the issuer.

  • Microsoft Entra ID. Revoking a user’s refresh tokens stops those tokens being used to obtain new access tokens. Access tokens already issued remain usable until they expire, except where continuous access evaluation (CAE) applies.20 Microsoft’s emergency guide simplifies the access-token lifetime to one hour. Its token reference gives a default chosen at random between 60 and 90 minutes, two hours for some clients in tenants without Conditional Access, and long-lived tokens of 20 to 28 hours in CAE sessions.2022 CAE applies only where a CAE-capable client is used with a service that subscribes to Entra’s critical events, such as Exchange Online, SharePoint Online and Teams, and only for the events Microsoft lists: account deletion or disablement, a password change or reset, multifactor authentication being enabled, an administrator explicitly revoking all of a user’s refresh tokens, and high user risk. Microsoft gives “near real time” as the goal for critical events but says “latency of up to 15 minutes might be observed because of event propagation time”, and documents longer delays in some scenarios, such as co-authoring sessions.23 Applications that issue their own session cookies are a separate case: “Microsoft Entra ID can’t directly revoke a session token issued by an application.”20
  • AWS temporary credentials. Lifetimes depend on how they were obtained. AWS’s comparison table gives AssumeRole and its SAML and web-identity variants a default of one hour, up to the role’s maximum session duration. GetSessionToken and GetFederationToken, called by an IAM user, default to 12 hours with a maximum of 36; called by the root user they are limited to one hour.24 “Temporary security credentials are valid until they expire”. AWS’s guidance for stopping their use is to change the permissions that apply to them, and permissions for credentials obtained by the root user cannot be changed.25 For role sessions AWS provides a revocation action that attaches a policy denying all permissions to sessions issued before a cutoff time. It applies to every session of the role issued before then, legitimate ones included.26 React2Keys took AWS temporary session credentials as well as long-lived keys.1
  • OAuth. RFC 7009 says that when a refresh token is revoked, an authorisation server that supports access-token revocation “SHOULD also invalidate all access tokens based on the same authorization grant”. If it does not, “access tokens will not be immediately invalidated when the corresponding refresh token is revoked.”27 Self-contained tokens, which resource servers verify without calling back to the issuer, need back-end arrangements that RFC 7009 calls “currently non-standardized” to be revoked immediately, or must be kept short-lived.27
  • JSON Web Tokens. The exp claim is optional. Where present, a token must not be accepted after that time, with at most a small allowance for clock skew.28 RFC 7519 defines no revocation. A verifier that checks only the signature and expiry will accept a stolen token until it expires, or until the verifier stops trusting the signing key. Rotating the signing key ends acceptance of every token signed with it once all verifiers have dropped the old key, including any cached copies.29 Sessions that an application keeps separately, and refresh credentials it issued, need their own handling.

Sessions are covered in After the login. For rotation, each revocation needs a companion step aimed at what was already issued, and responders should know for each platform whether it exists.

Re-establish trust

When the compromised secret is one that other parties use to decide what to trust, such as a token-signing key, a certificate authority’s key or a firmware signing key, replacement and revocation are not enough. Every relying party has to learn the new key and stop accepting the old one. NIST SP 800-57 notes that “recovery from the compromise of a root CA’s private signature key requires that all entities using the infrastructure obtain and install a new trust anchor certificate”, which typically involves expensive physical procedures.21

Kerberos and the double reset

Active Directory supplies the best-known example of a rotation that must be done twice. In Kerberos, the ticket-granting service’s principal is named krbtgt, and the KDC uses the ticket-granting service’s key to decrypt the ticket-granting tickets (TGTs) presented to it.30 In an Active Directory domain that key derives from the krbtgt account’s password, so an attacker who holds it can create TGTs that the domain will accept, and use them to obtain service tickets. Microsoft’s forest recovery guidance says to reset the password twice: “You should perform this operation twice. You must wait 10 hours between password resets.”31 Ten hours is the default maximum lifetime for user and service tickets, and the wait should be longer where that policy has been raised. The reason for two resets is the password history: “The password history value for the krbtgt account is 2”, so one reset leaves the previous key usable.31 Microsoft notes that the procedure applies to writable domain controllers and not to read-only ones.31

CISA’s 2021 eviction guidance for networks affected by the SolarWinds compromise puts the reset near the start of its eviction phase, immediately after severing the enterprise network from the internet. It notes that “krbtgt must be reset twice; the second time after the first has finished” and that “the resets may take a long time to propagate fully on large AD environments”.32 Both resets have to finish replicating before the old key can be considered gone. Later in the sequence, under its own heading “Rotate all the Secrets”, the guidance lists password resets for privileged accounts, all AD service accounts, the Directory Services Restore Mode account, all AD user accounts, local administrator accounts, non-AD privileged accounts on high-value assets, and all credentials used to manage network devices, including SNMP strings, IPsec pre-shared keys, routing secrets, TACACS and RADIUS secrets and device keys and certificates.32 Severing the Azure environment from on-premises systems, hardening identity providers and reviewing federation trusts come after those resets.32 The guidance advises monitoring “for failed logins resulting from these resets” and warns that the steps “may affect operations of critical business functions”.32 Microsoft’s emergency revocation guidance for hybrid environments similarly recommends resetting a compromised user’s on-premises password twice, “to mitigate the risk of pass-the-hash, especially if there are delays in on-premises password replication”.20

Certificates and the limits of revocation

For TLS certificates, revocation depends on relying parties checking for it. Chromium’s documentation says that “online (i.e. OCSP and CRL) checks are not generally performed by Chrome”. Chrome relies instead on CRLSets, “the primary means by which Chrome quickly blocks certificates in emergency situations”, which contain only a subset of revoked certificates.33 Let’s Encrypt announced in December 2024 that it would provide revocation information only through CRLs, with OCSP responders to be turned off on 6 August 2025, noting that OCSP Must-Staple “failed to get wide browser support after many years”.34 Its end-of-year letter confirms: “In August of 2025 we turned off our OCSP service.”35 Revoking a certificate whose key was stolen is still necessary, and blocks it early for clients that check. For clients that do not, the remaining validity bounds the exposure, one argument for short lifetimes.

Scoping: what could the intruder read?

Rotation starts with a list. Cloudflare’s four credentials show what happens when the list is wrong.13 NIST SP 800-57 includes in the compromise-recovery plan it recommends “an inventory of all cryptographic keys (e.g., the location of all keys and certificates in a system)” and “the monitoring of the re-keying operations (to ensure that all required operations are performed for all affected keys)”.21 NIST writes about cryptographic keys. Extending the same inventory to passwords, API keys and tokens is this article’s recommendation.

Two ways to build the list

The first way works outward from the compromised component: what could the processes the intruder controlled read? For a web server that means environment variables, mounted files, configuration, the instance metadata service, workload-identity tokens and credentials cached by command-line tools. For a CI system it means every secret injected into the jobs the intruder could run or alter, which is what Codecov’s notice addressed.17 For an identity provider it means every session and every credential stored in or reachable through it, which in Okta’s 2023 case included session tokens recorded in HAR files that customers had uploaded to support cases.15 CloudSEK’s advice for React2Keys victims takes this view: assume every environment variable and secret file on the host was read.2

The second way works from an inventory of secrets, asking of each whether a copy was anywhere the intruder could reach. This catches copies the component view misses: the same database password in three services, a token pasted into a ticket, a key in a repository’s history.

Neither should produce a new store of secret values. The scoping record needs names, identifiers and references to where each secret is held and revoked. Values belong only in the secrets manager.

Where the copies are

Measurements of secret sprawl show why the inventory route is hard. They come from different populations and should not be read as replications of one another.

  • GitGuardian counted 28.65 million new hardcoded secrets in public GitHub commits in 2025.19
  • GitGuardian reports that internal repositories are about six times more likely than public ones to contain hardcoded secrets, and that about 28 percent of incidents originated entirely outside repositories, in tools such as Slack, Jira and Confluence. Its blog summary does not state the dataset behind these two figures.19
  • In data from machines compromised in the second Shai-Hulud wave, GitGuardian found 33,185 unique secrets across 6,943 machines, 59 percent of which were CI/CD runners.19
  • Entro Security’s report for the first half of 2025, drawn from its telemetry across cloud providers, code repositories, CI/CD tools and SaaS platforms and summarised by Help Net Security, found more than a quarter of leaked secrets came from CI/CD workflows and about 14 percent from messaging and collaboration tools.36

Both companies sell secret detection, and the figures describe their datasets, not all organisations. They agree that a secret’s authoritative location is rarely its only one. Copies a rotation plan should account for include:

  • build logs and CI caches that captured a secret at build time;
  • container images and their layers, and the registries that store them;
  • backups and snapshots of hosts and databases that held configuration;
  • developer laptops and local configuration for command-line tools;
  • tickets, chat messages and wiki pages written during earlier troubleshooting;
  • repository history, including forks and clones that rewriting history does not touch (the source-host case is worked through in The repository is production);
  • third-party services configured with the credential, which hold their own copy.

Once a credential is revoked at its issuer, no copy of it can be used to authenticate, which is the strongest argument for revoking at the source over hunting copies: one revocation disables every copy for sign-in. Revocation does not undo what a copied key has already exposed. If a key used for encryption is disclosed, NIST notes, all information encrypted with it could be read.21 Copies also matter for secrets that cannot be revoked quickly, and for confirming that every consumer has moved to the replacement.

“Unused” is a claim to test

Cloudflare’s missed credentials were thought to be unused.13 Provider data can inform that judgement. AWS publishes last-used information for access keys, but its own procedure does not treat it as proof: “Even if the Last used information indicates that the old key has never been used, we recommend that you do not immediately delete the first access key”, it says, and recommends deactivating instead.37 Entro reported that 62 percent of AWS non-human identities it observed showed no activity in the previous 90 days, and that 5.5 percent of AWS machine identities had full administrative access.36 In an incident, a credential believed unused can be disabled at once, and deleted if nothing breaks.

Ordering the work

A large organisation cannot rotate everything at once, and the order matters because some credentials can produce others.

What can mint what

The first question for each exposed secret is what an attacker holding it could create. A token-signing key at an identity provider can produce tokens that relying parties accept. The krbtgt key can produce TGTs for the domain.3031 A CA key can produce certificates and CRLs.21 A cloud root credential or administrator role can create new users and keys. An administrative token for a secrets manager can read the secrets it stores, or issue credentials if the manager is configured to. Rotating downstream credentials while one of these remains in the attacker’s hands is likely to be wasted work, because the attacker may be able to issue itself new ones.

A suggested order, for illustration, follows from that reasoning. It assumes the responders have a trusted administrative path to carry out the changes; if they do not, regaining one comes first. It should be adjusted for evidence of use, for credentials that could cause immediate financial or safety impact, and for any phased sequence the incident plan prescribes, such as CISA’s.32

  1. Credentials that issue other credentials: identity-provider signing keys and federation trusts, krbtgt, CA keys, administrative tokens for secrets managers, cloud root and break-glass accounts. (Where the secrets manager is a vendor’s product and the vendor is breached, the questions are different; see When the vault vendor is breached.)
  2. Credentials the attacker is known to have used, or that grant administrative control: cloud administrator keys and roles, CI/CD deployment credentials, source-host tokens with write access.
  3. Credentials that reach sensitive data or money: production databases, payment and cryptocurrency platform keys, storage account keys.
  4. The long tail: everything else the compromised components could read.

React2Keys is a reason to move credentials tied to money forward regardless of their tier. The operator ranked secrets by monetary value and, according to CloudSEK, had tooling that “decides whether funds can actually be moved”.2 A key that is being used for fraud now should be disabled now.

Speed against evidence

Rotating fast closes the window. Rotating before the investigation has established what the attacker holds may alert it, and an alerted attacker can switch to access the investigation has not yet found. CISA’s guidance is built around that risk. It separates a pre-eviction phase of detection and scoping from an eviction phase to be completed “fully and in the order listed”, including severing internet access before resetting krbtgt.32 For a single exposed API key with no sign of deeper access, immediate rotation is, in my judgement, a reasonable default. The decision belongs in the incident plan (see the ISO/IEC 27035 article).

Rotating without breaking production

Fear of breaking things is a reason organisations give for not rotating, and it has some basis. Rotation has caused major outages.

When rotation caused the outage

On 15 March 2021 an automated system that removes unused signing keys from Azure AD removed one that had been marked “retain” to support a migration. Microsoft’s preliminary analysis said the automation “incorrectly ignored that ‘retain’ state”. Once the public key metadata changed, applications stopped trusting tokens signed with the removed key, and customers saw authentication errors from about 19:00 UTC on 15 March until 09:25 UTC on 16 March.38 That was an automated rotation of enterprise keys. Separately, the CSRB records that Microsoft stopped manual rotation of consumer MSA keys entirely in 2021 after “a major cloud outage linked to the manual rotation process”.11 The board does not identify that outage, and I have found no source linking it to the March event. The two cases show that rotation is a change with an outage risk of its own, and that responding to a rotation outage by stopping rotation leaves an old key in service.

NIST SP 800-57 accepts the trade-off. Shorter cryptoperiods generally improve security, but “may be counter-productive, particularly where denial-of-service is the paramount concern and there is a significant potential for error in the re-keying or key-derivation process”.21 It concedes that in some systems “the costs associated with changing keys are painfully high”.21

Overlap, and when not to use it

The standard way to rotate without an outage is to make two credentials valid at once for a while. AWS’s procedure for routine updates of IAM user access keys is the model. Create a second key so that “the user has two active access keys”, update every application, check the old key’s last-used information, possibly over several days, deactivate the old key and watch for failures, reactivate it if something breaks, and delete it only when nothing does.37 Signing keys use the same idea through key identifiers. Microsoft’s identity platform always publishes more than one valid key, and tells relying applications to accept any of them, cache keys by key ID for 24 hours and refresh hourly, because a signing key “could be rolled over immediately” in an emergency.29

That procedure is written for routine rotation. After a known exposure, every hour of overlap is an hour in which the attacker can use the old credential. Whether to allow any overlap is an incident decision. Where there is evidence of misuse or the credential is highly privileged, the default should be to cut off the old credential at once and accept breakage, with a fallback that does not reopen the attacker’s access, such as a temporary replacement credential issued to the affected consumer. Overlap is defensible for credentials with low privilege and no sign of use, and the decision, its length and who approved it should be recorded. Knowing each credential’s consumers makes the decision easier, because the team can predict what will break.

Third-party credentials

Some credentials can be rotated only by someone else, or only at someone else’s pace. CircleCI could rotate customers’ GitHub OAuth tokens only through GitHub’s API, and even with raised rate limits it took a week.16 A webhook signing secret is shared between two parties, so changing it means changing both ends together or supporting two secrets during the change. An integration authorised through OAuth is revoked at the authorisation server, which may belong to a third party.27 For each such credential the runbook needs the place it is revoked, the person who can do it, and whether the platform supports two valid secrets at once.

Proving the old keys are dead

“We rotated” is a claim. Cloudflare’s experience shows it can be wrong without anyone knowing.13 Two checks turn it into evidence.

Test the old credential

After revocation, try the old credential against the system that should reject it, and record the result. This is the defender’s version of what the React2Keys operator did with stolen keys.2 It catches a replacement issued without the old secret being revoked at its issuer, and it gives the incident lead a record to review. It should be done from a controlled host, against a read-only call where possible, and logged as a test so it is not later mistaken for attacker activity. For keys that cannot be safely tested, the issuer’s status record, a disabled flag or a deletion event, is the next best evidence.

Watch for use after revocation

Attempts to use a revoked credential are useful leads. Some will be consumers nobody updated, automatic retries or the team’s own tests. The rest may be the attacker. CISA’s guidance makes the point about mass resets: monitor for the failed logins they produce.32 The CSRB describes a stronger version from Storm-0558. Once the stolen key was revoked and inactive, Microsoft’s identity system was not signing anything with it, so “all signing instances using this key constituted nefarious activity”, which helped Microsoft identify the actor’s activity with high confidence.11 That inference was specific to a signing key no legitimate system was using.

Such alerts depend on the issuer logging failed attempts with the credential’s identifier. Many do; some log only successes, and some log nothing the customer can see, as Imperva alleges of the APIM legacy endpoint.5 Checking what each issuer actually records should come before promising an alert.

Keys that are hard to change

Some secrets cannot be swapped quickly however well prepared the organisation is.

Signing keys and roots of trust

NIST SP 800-57’s suggested cryptoperiods give a sense of normal lifetimes: one to three years for a private signature key, under two years of originator use for symmetric authentication and data-encryption keys, and about a year for a symmetric master key used to derive others.21 A compromise ends the period at once: “If a key is compromised, its cryptoperiod shall no longer be considered valid.”21 For a signing key the damage extends backwards as well as forwards, because “the integrity and non-repudiation qualities of all data signed by that key are suspect”, subject to the exceptions for data protected by other means noted above.21 A rotation plan for a signing key therefore needs a decision about everything already signed: which artefacts, tokens or documents to re-sign, which to trust on other evidence, and which to distrust.

Embedded and firmware keys

Keys anchored in hardware are the hardest case. In May 2023 BleepingComputer reported that data stolen from the hardware maker MSI and leaked by an extortion group contained private keys that, according to the firmware security firm Binarly, signed firmware images for 57 MSI products and Intel Boot Guard key material for 116.39 Binarly’s analysis later gave 166 products for the Boot Guard keys.40 Binarly explains the structure. The leaked keys are the private keys for the Key Manifest and Boot Policy Manifest, and “the hash of the OEM Root RSA public key from the KM is programmed into the chipset’s Field Programmable Fuses”.40 A fused hash cannot be changed by a firmware update, so a device that trusts a leaked root key cannot be told to stop trusting it, whether or not it can install new firmware. Where only subordinate keys are exposed and the verifying material can be updated, recovery by update is possible. Binarly’s own summary is that revocation of such keys “can take years or impossible by design”.40 NIST’s comment on root CA compromise applies with more force: because recovery is so expensive, “elaborate precautions to avoid compromise may be justified”.21

Why organisations cannot finish

The cases above each show a failure. Survey data adds a measure of how common unrotated machine credentials are. The SANS 2026 Identity Threat Detection and Response report found that only 8 percent of surveyed organisations rotate more than 75 percent of their non-human identity credentials every 90 days, and 59 percent rotate fewer than half quarterly. Respondents were concentrated in the United States, with others from Europe, Canada, Africa, Asia and Australia.41 SC Media’s summary of the survey attributes the gap to teams “paralyzed by the fear that changing a key will trigger cascading service outages”.42 That explanation comes from the reporting, and I have not found the survey question behind it.

Mapping the documented failures to their causes:

CauseWhere it appears
Credential wrongly judged unusedCloudflare, 202313
Rotation stopped after it caused an outageMicrosoft consumer MSA keys, 202111
Another platform’s API and rate limitsCircleCI’s GitHub token rotation, 2022 to 202316
Fix applied, copied secrets still validAPIM, 2026, as Microsoft warned; React2Keys62
Issued sessions and tokens outliving the secretEntra, AWS STS, OAuth, as documented202527
Credentials unchanged for years after theftSnowflake customers, 202418

Counter-arguments

Routine rotation may not be worth it

NIST’s 2025 authentication guideline says that verifiers “SHALL NOT require subscribers to change passwords periodically”, while requiring a forced change when there is evidence of compromise.43 The rule concerns passwords that people choose and memorise. It is sometimes extended to argue that scheduled rotation of machine secrets is wasted effort too.

The two situations differ. Incident action has its own thresholds in NIST’s documents. SP 800-63B-4 requires a forced password change when there is evidence of compromise, allows temporary suspension of authenticators suspected of possible compromise, and requires compromised authenticators to be suspended, invalidated or destroyed promptly once compromise is detected.43 SP 800-57 moves a key to the compromised state on suspicion or confirmation of compromise, and requires that a compromised key stop being used to apply protection and be revoked.21 Routine rotation of machine secrets is a separate decision. A generated secret has no memory constraint, so a new one is as strong as the old. The case for scheduling it is that a regularly used rotation path is more likely to work in an incident and that a stolen copy has a bounded life. The case against is cost and outage risk, highest where consumers are poorly known and lowest where consumers fetch secrets from a manager at run time. The CSRB’s recommendation of “automated frequent key rotation”, for example monthly, was made for cloud service providers’ keys after an incident in which an unrotated signing key was the central failure.11 It should not be read as a rule for every static secret.

What to build before it is needed

An inventory with consumers and owners

The schema below is this article’s recommendation, extending NIST’s key inventory to every kind of secret.21 Each entry records an identifier (never the value), the identity the secret belongs to, its permissions, every system and third party that holds or uses it, an owner, its creation and last-rotation dates, and the place where it is revoked. With it, a judgement such as Cloudflare’s that credentials were unused can be checked before it is relied on.13 Third-party holders should be listed under the vendor’s name, because that is the list a vendor’s breach notice will be checked against.

Rotation paths exercised in normal operations

The CSRB concluded that continued rotation, completed automation or alerts on key age would have stopped the 2016 MSA key being valid in 2023.11 The lesson generalises as a recommendation: automate scheduled rotation for each class of credential that allows it, alert when a credential’s age exceeds its policy, and implement the overlap pattern, with deactivation before deletion and a rollback path, for routine use.37 Signing-key consumers should be tested against an unannounced rollover, since Microsoft tells relying parties to expect one.29

Short-lived and federated credentials

GitHub’s documentation describes the change for CI. With OIDC, a workflow requests from the cloud provider “a short-lived access token that is only valid for a single job, and then automatically expires”, so the cloud credential is not stored as a CI secret.44 CircleCI recommended the same after its breach.16 Google Cloud’s guidance on service-account keys explains why the static alternative carries more risk than a leaked password: authentication with a leaked key “is likely to succeed as service accounts are not subject to any additional sign-in verifications”. Google also offers an organisation policy that automatically disables keys it detects as publicly exposed.45 Short-lived credentials can still be stolen from a compromised host; React2Keys took Azure managed-identity tokens and AWS temporary credentials alongside static keys.1 They limit exposure to their remaining lifetime and any permitted renewals, provided the identity that obtains them is not itself still under the attacker’s control. That is why CloudSEK’s advice includes reviewing workload-identity activity.2

Dynamic secrets

For systems that still need a password, such as databases, a secrets engine can issue credentials on request with a lease. HashiCorp Vault’s database engine creates them per request, and its documentation’s examples use a one-hour lease and a 24-hour maximum. Leases can be renewed within policy, and Vault’s revocation system makes credentials invalid “within a reasonable time of the lease expiring”.46 Because “every service is accessing the database with unique credentials”, an access found in an investigation can be traced to the workload that requested the credential, provided each instance obtains its own lease and Vault’s records link the lease to the requester.46 Scoping then becomes a question of which leases were live on the compromised host. The engine’s own root credential becomes the one to protect; Vault documents a separate rotation path for it and warns against managing it as an ordinary rotated account.46

A runbook matrix, and drills

The runbook can take the form of a matrix with one row per credential class. Each row names the issuer where it is revoked, the derived credentials and sessions to end, the trust to re-establish if any, the test that shows the old credential fails, and the person who can act. Dependencies belong in the matrix too: krbtgt before mass AD resets, issuers before what they issue, and CISA’s phased sequence where a deeper intrusion is suspected.32 A drill that rotates one real high-privilege credential end to end, with the cutoff decision and verification, is likely to expose gaps that a tabletop exercise does not, at the cost of some production risk.

Worked example: a compromised Next.js server

The following plan is illustrative. It is built from the mechanisms cited above and describes no real organisation. The phases show order, not expected durations. Suppose a team learns that one of its internet-facing Next.js servers ran a version vulnerable to CVE-2025-55182 during the React2Keys window, and finds an unfamiliar key in authorized_keys.32

Contain and preserve. Isolate the host and preserve memory and disk before changing anything. Remove the planted SSH key from every host the same image or automation could have reached, and check cron jobs and SSH logins.2 Do not put replacement secrets on the host. Build a clean replacement from a known-good image with the patched version, and keep it out of service until the checks below are done.

Scope from records, not from the host. Reconstruct what the server process could read from the deployment configuration, the secrets manager’s access records, infrastructure-as-code and the image definition, rather than by dumping the live environment. List names and references, never values. Include environment variables, mounted files, configuration, CLI credential files, the instance role and any workload-identity tokens.2 Suppose the list contains an AWS access key for an IAM deployment user, the instance role, a PostgreSQL password, a Stripe secret key, an OpenAI API key, a GitHub fine-grained personal access token with write access to the application repository, and a JWT signing secret used for user sessions.

Disable anything being misused now. If provider logs show the Stripe or OpenAI key in use from unfamiliar sources, disable it immediately, ahead of the order below. Spending limits and usage alerts at the providers help, but an alert is not a cutoff, and a limit applies only as the provider implements it.

Issuers and administrative credentials.

CredentialReplaceRevoke at issuerEnd what was issuedVerify
JWT signing secretNew secret, deployed to all application instancesRemove old secret from every verifier with no overlapTokens signed with the old secret fail once no verifier holds it; end server-side sessions and refresh tokens separately28A token signed with the old secret is rejected; one signed with the new secret is accepted
AWS IAM user access keyNew key issued only to the clean pipeline37, or better, replace the deployment user with a role the pipeline assumes through GitHub’s OIDC, so no cloud credential is stored in CI47Deactivate old key at once, then deleteSessions obtained with the key through GetSessionToken or GetFederationToken outlive it.24 Attach an explicit deny-all to the user until they expire, and add explicit denies to any resource-based policies that allow the user or its sessions, since an explicit deny overrides any allow.2548 Check whether the user could assume roles, and treat those sessions as belowOld key rejected on a controlled read-only call; logs used as supplementary evidence, knowing their coverage (S3 records authentication failures in server access logs, not CloudTrail)49
Instance roleNot applicable: the clean host obtains new sessionsFirst stop the compromised instance obtaining fresh credentials by turning off its instance metadata service or stopping it; blocking its network traffic does not stop code on the host reaching the local metadata endpoint50Then revoke the role’s sessions issued before the cutoff, accepting brief disruption to legitimate sessions; sessions issued after the cutoff are unaffected, hence the first step26A pre-cutoff session credential is denied in a controlled test; logs reviewed as above
GitHub fine-grained personal access token with repository writeNew fine-grained token limited to the repositories and permissions the pipeline needsDelete it in the owner’s settings, or submit its value to GitHub’s revocation API; either ends it. An organisation owner’s revocation is narrower: the token can still read the organisation’s public resources, and the user can reassign it51SSH keys created by the token keep working after an organisation owner revokes it, so review and remove them; review pushes, deploy keys and webhooks51A write, and a read of a private repository, with the old token both fail; audit log reviewed

Data and money. PostgreSQL keeps one password per role, so a password change is a cutover, with no overlap.52 Either change the password and update the clean consumers in one step, or create a second login role with the same intended grants, move consumers to it and then disable the old role’s login. In both cases terminate the old role’s existing sessions with pg_terminate_backend rather than assuming the change ended them.53 Move the application to per-instance dynamic credentials when practical.46 Roll the Stripe and OpenAI keys at the providers if not already disabled, and review each provider’s usage history from the start of the exposure window.

Copies and the long tail. Search build logs, container images, backups, tickets and chat for the old secrets by fingerprint or by the scanner’s detector, and record where each was found by location, without copying the value into the record. Every location should now hold a dead credential. A live one means a missed rotation. Keep alerts on all old credentials for at least as long as the longest token lifetime involved, and longer for anything that might sit in a forgotten consumer. Record what could not be rotated and why, with an owner and a date.

Before restoring service. Confirm that each row’s verification passed, that no unknown keys or scheduled jobs remain on any host in scope, and that the clean host runs a patched version. Then put the clean host into service.

Conclusion

“Rotate everything” describes an outcome. The work behind it is four separate operations: replacing secrets, revoking old ones where they are verified, ending sessions and tokens already issued from them, and re-establishing trust where a signing key or root was exposed. The public cases show where each can fail. Storm-0558 used a signing key that stayed valid after Microsoft stopped rotating consumer keys.11 Cloudflare’s intruder used four credentials, out of thousands, that were believed unused and were not rotated.13 CircleCI’s rotation for customers was bounded by another platform’s rate limits.16 Snowflake customers’ stolen credentials had in many cases gone unrotated for years.18 React2Keys, and the APIM exposure as Microsoft’s advisory described it, add the current version: patching does not invalidate credentials that were read, or may have been read, from servers and gateways. They stay usable until they expire or are effectively revoked at the system that accepts them.2654

The mechanisms suggest what to build in advance: an inventory that records consumers, owners and the point of revocation; rotation automated and exercised in normal operations; a runbook that begins with the credentials that issue others; a test that each old credential now fails; and alerts on later use, where the issuer logs it. Fewer long-lived secrets means less to find, provided the issuers of short-lived credentials are protected. Some keys remain hard to replace, roots of trust and firmware keys above all. For those, NIST’s view that preventing compromise may justify elaborate precautions is the realistic plan, since recovery may take years or be impossible.2140

Footnotes

  1. “AI-powered React2Keys campaign steals secrets from 400 organizations”, BleepingComputer, 30 November 2026. https://www.bleepingcomputer.com/news/security/ai-powered-react2keys-campaign-steals-secrets-from-400-organizations/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  2. CloudSEK, “React2Keys: AI-Powered React2Shell Campaign Steals 50,000+ AI, Cloud, Database, Payment, Registrar, and Crypto Keys from 19K+ Victims”, CloudSEK blog, late November 2026. https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15
  3. The React Team, “Critical Security Vulnerability in React Server Components”, React blog, 3 December 2025. https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components (opens in a new tab) ↩1 ↩2
  4. Shweta Sharma, “React2Keys makes forgotten React2Shell exposure an expensive mistake”, CSO Online, 1 December 2026. https://www.csoonline.com/article/4255116/react2keys-makes-forgotten-react2shell-exposure-an-expensive-mistake.html (opens in a new tab) ↩1 ↩2
  5. Shaked Vax, “Two Breaches, One Day: How Secure Are the Keys in Your Management APIs?”, Imperva blog, 29 November 2026. https://www.imperva.com/blog/two-breaches-one-day-how-secure-are-the-keys-in-your-management-apis/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  6. Lawrence Abrams, “Microsoft Azure flaw exploited to steal customers’ API credentials”, BleepingComputer, 23 November 2026. https://www.bleepingcomputer.com/news/security/microsoft-azure-flaw-exploited-to-steal-customers-api-credentials/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  7. “Direct management API retirement (March 2025)”, Azure API Management documentation, Microsoft Learn. https://learn.microsoft.com/en-us/azure/api-management/breaking-changes/direct-management-api-retirement-march-2025 (opens in a new tab) ↩
  8. “Grant limited access to Azure Storage resources using shared access signatures (SAS)”, Azure Storage documentation, Microsoft Learn. https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview (opens in a new tab) ↩1 ↩2
  9. “Prevent Shared Key authorization for an Azure Storage account”, Azure Storage documentation, Microsoft Learn. https://learn.microsoft.com/en-us/azure/storage/common/shared-key-authorization-prevent (opens in a new tab) ↩
  10. “Create a user delegation SAS”, Azure Storage REST API documentation, Microsoft Learn, section “Revoke a user delegation SAS”. https://learn.microsoft.com/en-us/rest/api/storageservices/create-user-delegation-sas (opens in a new tab) ↩
  11. Cyber Safety Review Board, “Review of the Summer 2023 Microsoft Exchange Online Intrusion”, 20 March 2024 (PDF hosted by CISA; release page at https://www.cisa.gov/resources-tools/resources/cyber-safety-review-board-releases-report-microsoft-online-exchange-incident-summer-2023). https://www.cisa.gov/sites/default/files/2025-03/CSRBReviewOfTheSummer2023MEOIntrusion508.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13
  12. Microsoft Threat Intelligence, “Analysis of Storm-0558 techniques for unauthorized email access”, Microsoft Security blog, 14 July 2023. https://www.microsoft.com/en-us/security/blog/2023/07/14/analysis-of-storm-0558-techniques-for-unauthorized-email-access/ (opens in a new tab) ↩
  13. Matthew Prince, John Graham-Cumming and Grant Bourzikas, “Thanksgiving 2023 security incident”, Cloudflare blog, 1 February 2024. https://blog.cloudflare.com/thanksgiving-2023-security-incident/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13
  14. Sourov Zaman, Lucas Ferreira, Kimberly Hall and Grant Bourzikas, “How Cloudflare mitigated yet another Okta compromise”, Cloudflare blog, 20 October 2023. https://blog.cloudflare.com/how-cloudflare-mitigated-yet-another-okta-compromise/ (opens in a new tab) ↩
  15. David Bradbury, “Unauthorized Access to Okta’s Support Case Management System: Root Cause and Remediation”, Okta Security, 3 November 2023. https://sec.okta.com/articles/2023/11/unauthorized-access-oktas-support-case-management-system-root-cause/ (opens in a new tab) ↩1 ↩2
  16. Rob Zuber, “CircleCI Jan 4, 2023 security incident report”, CircleCI blog, 13 January 2023. https://circleci.com/blog/jan-4-2023-incident-report/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  17. “Bash Uploader Security Update”, Codecov, April 2021 (updated 29 April 2021). https://about.codecov.io/security-update/ (opens in a new tab) ↩1 ↩2 ↩3
  18. Mandiant, “UNC5537 Targets Snowflake Customer Instances for Data Theft and Extortion”, Google Cloud blog, 10 June 2024. https://cloud.google.com/blog/topics/threat-intelligence/unc5537-snowflake-data-theft-extortion (opens in a new tab) ↩1 ↩2 ↩3
  19. Anna Nabiullina and Carole Winqwist, “The State of Secrets Sprawl 2026”, GitGuardian blog, 17 March 2026. https://blog.gitguardian.com/the-state-of-secrets-sprawl-2026/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  20. “Revoke user access in an emergency in Microsoft Entra ID”, Microsoft Learn. https://learn.microsoft.com/en-us/entra/identity/users/users-revoke-access (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  21. Elaine Barker, “Recommendation for Key Management: Part 1 – General”, NIST SP 800-57 Part 1 Rev. 5, May 2020, sections 5.3, 5.3.2, 5.3.3.2, 5.5, 5.5.1, 5.5.2, 7.5, Table 1 and the glossary entry “Compromised state”. https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17
  22. “Access tokens in the Microsoft identity platform”, Microsoft Learn, section “Token lifetime”. https://learn.microsoft.com/en-us/entra/identity-platform/access-tokens (opens in a new tab) ↩
  23. “Continuous access evaluation”, Microsoft Entra documentation, Microsoft Learn. https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-continuous-access-evaluation (opens in a new tab) ↩
  24. “Compare AWS STS credentials”, AWS IAM User Guide. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_sts-comparison.html (opens in a new tab) ↩1 ↩2
  25. “Disabling permissions for temporary security credentials”, AWS IAM User Guide. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_disable-perms.html (opens in a new tab) ↩1 ↩2 ↩3
  26. “Revoke IAM role temporary security credentials”, AWS IAM User Guide. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_revoke-sessions.html (opens in a new tab) ↩1 ↩2
  27. T. Lodderstedt, S. Dronia and M. Scurtescu, “OAuth 2.0 Token Revocation”, RFC 7009, IETF, August 2013, sections 2.1, 3 and 5. https://www.rfc-editor.org/rfc/rfc7009.txt (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  28. M. Jones, J. Bradley and N. Sakimura, “JSON Web Token (JWT)”, RFC 7519, IETF, May 2015, section 4.1.4. https://www.rfc-editor.org/rfc/rfc7519.txt (opens in a new tab) ↩1 ↩2
  29. “Signing key rollover in the Microsoft identity platform”, Microsoft Learn. https://learn.microsoft.com/en-us/entra/identity-platform/signing-key-rollover (opens in a new tab) ↩1 ↩2 ↩3
  30. C. Neuman, T. Yu, S. Hartman and K. Raeburn, “The Kerberos Network Authentication Service (V5)”, RFC 4120, IETF, July 2005, sections 3.3.2 and 7.3. https://www.rfc-editor.org/rfc/rfc4120.txt (opens in a new tab) ↩1 ↩2
  31. “AD Forest Recovery - Reset the krbtgt password”, Microsoft Learn. https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/forest-recovery-guide/ad-forest-recovery-reset-the-krbtgt-password (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  32. CISA, “Eviction Guidance for Networks Affected by the SolarWinds and Active Directory/M365 Compromise”, AR21-134A, 14 May 2021 (revised 21 May 2021). https://www.cisa.gov/news-events/analysis-reports/ar21-134a (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  33. “CRLSets”, Chromium Security. https://www.chromium.org/Home/chromium-security/crlsets/ (opens in a new tab) ↩
  34. “Ending OCSP Support in 2025”, Let’s Encrypt, 5 December 2024. https://letsencrypt.org/2024/12/05/ending-ocsp/ (opens in a new tab) ↩
  35. “Let’s Encrypt’s 2025 end-of-year letter”, Let’s Encrypt, 29 December 2025. https://letsencrypt.org/2025/12/29/eoy-letter-2025.html (opens in a new tab) ↩
  36. “Secrets are leaking everywhere, and bots are to blame”, Help Net Security, 31 July 2025 (summary of Entro Security’s NHI and Secrets Risk Report H1 2025). https://www.helpnetsecurity.com/2025/07/31/enterprise-non-human-identity-risk/ (opens in a new tab) ↩1 ↩2
  37. “Update access keys”, AWS IAM User Guide. https://docs.aws.amazon.com/IAM/latest/UserGuide/id-credentials-access-keys-update.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  38. Microsoft Azure, “Notification: Authentication errors across multiple Microsoft services”, Microsoft Q&A, 15 and 16 March 2021 (preliminary root cause analysis). https://learn.microsoft.com/en-us/answers/questions/315440/notification-authentication-errors-across-multiple (opens in a new tab) ↩
  39. Lawrence Abrams, “Intel investigating leak of Intel Boot Guard private keys after MSI breach”, BleepingComputer, 8 May 2023. https://www.bleepingcomputer.com/news/security/intel-investigating-leak-of-intel-boot-guard-private-keys-after-msi-breach/ (opens in a new tab) ↩
  40. Binarly, “Leaked MSI Source Code with Intel OEM Keys: How Does This Affect Industry-wide Software Supply Chain?”, Binarly blog, undated (accessed 2 December 2026). https://www.binarly.io/blog/leaked-msi-source-code-intel-oem-keys-supply-chain (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  41. SANS Institute, “SANS 2026 Identity Threat Detection and Response (ITDR) Report”, March 2026 (findings page). https://www.sans.org/research/identity-threat-detection-response-report (opens in a new tab) ↩
  42. “Survey: 92% fail to rotate machine credentials”, SC Media, 13 April 2026 (brief summarising ITPro’s report on the SANS survey). https://www.scworld.com/brief/survey-92-fail-to-rotate-machine-credentials (opens in a new tab) ↩
  43. “Digital Identity Guidelines: Authentication and Authenticator Management”, NIST SP 800-63B-4, 2025, section 3.1.1.2 and the authenticator lifecycle sections on compromise, suspension and invalidation. https://pages.nist.gov/800-63-4/sp800-63b.html (opens in a new tab) ↩1 ↩2
  44. “OpenID Connect”, GitHub Actions documentation, GitHub Docs. https://docs.github.com/en/actions/concepts/security/openid-connect (opens in a new tab) ↩
  45. “Best practices for managing service account keys”, Google Cloud IAM documentation. https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys (opens in a new tab) ↩
  46. “Database secrets engine”, HashiCorp Vault documentation. https://developer.hashicorp.com/vault/docs/secrets/databases (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  47. “Configuring OpenID Connect in cloud providers”, GitHub Actions documentation, GitHub Docs. https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-cloud-providers (opens in a new tab) ↩
  48. “Explicit and implicit denies”, AWS IAM User Guide, policy evaluation logic. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic_policy-eval-denyallow.html (opens in a new tab) ↩
  49. “Logging options for Amazon S3”, Amazon S3 User Guide. https://docs.aws.amazon.com/AmazonS3/latest/userguide/logging-with-S3.html (opens in a new tab) ↩
  50. “Configure the Instance Metadata Service options”, Amazon EC2 User Guide. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html (opens in a new tab) ↩
  51. “GitHub credential types”, GitHub Docs. https://docs.github.com/en/organizations/managing-programmatic-access-to-your-organization/github-credential-types (opens in a new tab) ↩1 ↩2
  52. “ALTER ROLE”, PostgreSQL documentation (current). https://www.postgresql.org/docs/current/sql-alterrole.html (opens in a new tab) ↩
  53. “System Administration Functions”, PostgreSQL 17 documentation, Server Signaling Functions. https://www.postgresql.org/docs/17/functions-admin.html (opens in a new tab) ↩
  54. “Temporary security credentials in IAM”, AWS IAM User Guide. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html (opens in a new tab) ↩