A public service receives a report that a deployment record may contain a credential used by an application. One agency owns the application, a shared service operates its hosting and a supplier supports an integration. Nobody can yet say whether the value is current or which services depend on it. This exercise gives the participants a safe way to establish the scope, decide what to restrict and agree how to replace the affected material. Use fictional values and approved test environments. The scenario should never require access to live secrets.
Choose a dependency the service can recognise
Select one public-facing service and one internal integration. Examples include a permit application that exchanges status records with another agency, or an appointment service that uses a third party to send reminders. Document the expected customer workflow, the role of the integration and which teams administer it. Name the person who can approve a change affecting the service. Include the customer support or business lead who can decide what work should continue if the integration is paused.
Define the types of credential the exercise will cover. A service may use a cryptographic key to sign or protect information, an application credential to access an interface, and a separate credential to administer the platform. Record their roles and the difference between owners, systems permitted to use them and people permitted to manage them. NIST's key management guidance provides context for the protection and management of cryptographic keying material. Use the exercise to test the lifecycle and dependencies relevant to the chosen service.
Prepare synthetic metadata for the facilitator. Include an identifier, owner, intended environment, systems that consume the credential, issue date and the last verified use. Add records from a fictional deployment pipeline, key management service and application audit log. Avoid exposing the actual values in exercise material. Define where participants may record evidence and identify the exercise controller who can stop the activity if it overlaps with live operations.
Start with a report that does not establish exposure
Give the service desk a synthetic report that a deployment record may contain sensitive material. The report includes a timestamp and an application name but leaves the value out. Ask the desk to route the issue to the correct incident and application owners. Have the incident lead establish what the reporter observed, whether the record was accessible outside the intended group and what evidence should be preserved. Record the timestamps and where the exercise evidence can be inspected.
Ask the application owner to identify the candidate credential using metadata and approved records. Give the team one older identifier that looks similar and one record from a test environment. Ask them to explain what distinguishes each one. A matching name alone may leave unresolved questions about version, environment or purpose. Track whether the team can confirm current status without redistributing sensitive material. If an application team normally pastes values into support messages, document an approved alternative for the future.
Introduce a gap in the inventory. The hosting service can identify the credential, but one consuming application does not have an owner in the service register. Ask the incident lead to assign a person to investigate the dependency and decide how long the team can wait before choosing a containment action. Record what assumptions the decision depends on. A significant service may need a temporary boundary while the investigation continues. The exercise should show who can approve that boundary and how the service owner will be informed.
Make the containment decision explicit
Ask participants to list actions available under their existing authority. They might restrict access to the affected deployment record, suspend the integration, narrow the application credential's scope or plan immediate replacement. For each action, state what evidence it addresses, which dependencies it could interrupt and who must approve it. Have the incident lead choose one action and record the review time. The right response can differ depending on whether the suspected value provides application access, verifies signatures or protects stored data.
Ask the hosting owner how the team will verify that the chosen action occurred. If the decision is to suspend an integration, ask for independent confirmation of the application state and the status of any queued work. If the decision is to restrict an account or access path, specify the expected observation and the owner of the verification. Add a simulated message that the usual approver is unavailable. Check whether the fallback authority can be reached without relying on the affected service.
Agree how the public service will continue. An intake form might remain open while processing is deferred. An exchange of records between agencies may need an approved alternative or a temporary pause. Ask the business owner what staff should tell applicants and how pending records will be reconciled. Record who can extend any temporary arrangement. Keep the decision about continuity separate from the evidence still being collected about the suspected exposure.
Work through replacement in the right order
Give the team a map of the systems confirmed to depend on the credential and one unresolved consumer. Ask the application and hosting owners to propose a replacement sequence. It should show who issues or creates the replacement, how it reaches authorised consumers and which teams verify the result. Include approval for any interval in which an old and new configuration must coexist. If the original material may have been compromised, the incident lead should assess the risk of continued use alongside the impact of an immediate change.
Use an approved representative environment to rehearse the expected application behaviour. Confirm that each named consumer can complete a synthetic transaction through the approved path. Verify that the old application credential is no longer accepted once the authorised cutover is complete. A signing or encryption key can have different dependencies. Ask who needs to verify older signatures or retrieve protected records and how the service will support those uses under an approved plan. Record which material can be retired and which must remain controlled for a defined purpose.
Discuss the rollback conditions. A technical rollback that restores the old credential can reintroduce the concern that triggered the incident. Identify an approved recovery option that does not depend on that material or agree who could authorise another temporary arrangement based on the risk. Ask the service owner to confirm how staff will handle records accumulated during the interruption. If a supplier needs to make a change, ask how the agency will independently verify the result.
Test the handover across service providers
Give the group a simulated update saying a supplier has replaced the credential in one component but is still checking another. Ask the incident lead to update the scope and record which evidence is available. Have the supplier liaison request the relevant confirmation through a verified route, including the environment, credential identifier and time of the change. Avoid asking for the value itself. Confirm which action must be demonstrated from the agency side and who is assigned to do it.
Hand the exercise to a participant who has not been leading it. Ask them to explain which services are operating, what material has been replaced and how the team can tell that old access has ended. Have them locate the person responsible for each unresolved dependency and identify when the next review is due. This is especially important where one organisation changes a credential and another is responsible for telling staff or citizens how the service will operate.
A missing key custodian during a public-service outage
In the second inject, the application key owner cannot be reached and the external hosting provider offers to issue a replacement credential immediately. Have the agency team produce the approved delegation record before it accepts the offer. The exercise controller should ask whether the replacement would be stored in the same support ticket that exposed the original, and whether two consumer applications need separate change windows. Give one application an unresolved dependency to force a decision about temporary restriction versus continuity. Participants should demonstrate a successful fictional transaction using the replacement and an unsuccessful request using the retired material. Record any service degradation separately from evidence of misuse; exposure of a secret does not by itself prove that anyone exploited it.
Verify recovery and record the improvements
Review six outcomes. The team should be able to identify the credential, preserve useful evidence, make a proportionate containment decision, describe the replacement sequence, verify the intended state and hand the incident to the next owner. Record which outcomes were demonstrated, which depended on a simulated assumption and which require a technical or contractual change. Assign each issue an owner and an acceptance test. A service register gap can be closed by producing verified dependency records for a representative application.
Check the service workflow before closing the exercise. Have the business owner reconcile synthetic records delayed during containment and confirm how users will return to the ordinary service. Have the technical owner confirm that temporary access and configurations were removed. Ask the incident lead to identify what evidence still needs review before an equivalent real incident could be closed. Save only the approved exercise records and label the decision and test dates clearly.
Schedule the next exercise around a different dependency, such as a credential used by a supplier-hosted component or a key used to validate records across agencies. Reuse the evidence and handover requirements so results can be compared. The organisation should become faster at identifying where credentials are used and more precise about which service outcomes it can verify after changing them.
At the follow-up review, ask procurement and application owners what could prevent a verified replacement next time. A supplier might support replacement only during a scheduled window or be unable to supply customer-specific confirmation. Record the operating impact and propose a practical test for the next contract or service review. Use the result to establish a named owner and a workable evidence route for each critical dependency.
Include one final check with a consumer that was offline during replacement. Ask the application owner to explain how it will obtain the approved configuration and verify the first successful transaction. Ask the incident lead how they will detect that an old configuration was restored from a snapshot or local record. Assign a verification time and a contact for an unexpected result. This closes the gap between replacing material in the management service and confirming that every affected consumer is operating in the intended state.
Sources and further reading
Strengthen your security with Next Defence
Next Defence can help government teams map cryptographic and application credentials, then exercise replacement and recovery around the services that depend on them.