Back to Resources

Article

Test supplier credential rotation through the next scheduled job

A worked test for supplier machine credentials: identify every consumer, prove the replacement works, retire the old secret and check the next scheduled job.

Contrata editorial team ·

A supplier replaces an integration credential and shows a successful connection test. Your daily file transfer still fails overnight because its scheduled worker uses the old secret. The connection test covered one consumer; the rotation affected several.

For an APRA-regulated firm's service-owner and security teams, a useful acceptance test follows the replacement through every identified consumer and the next relevant scheduled run. Keep credential values out of the evidence record. What matters is which credential reference each consumer uses, what work completed and whether the superseded credential remains usable.

Define what is being rotated

Machine credentials include passwords, API keys and client secrets used by software rather than a person signing in. Their replacement mechanisms differ. Some services support an overlap between old and new credentials; others require a coordinated cutover. Do not assume two active credentials are possible.

AWS Secrets Manager's rotation guidance describes rotation as updating credentials in both the secret and the database or service. That distinction is useful beyond AWS: changing the stored value is only part of a change involving an issuer, a secret store and consuming applications. A particular supplier's implementation needs its own supported procedure.

Prefer supported short-lived workload credentials where the service allows them. When a long-lived secret remains necessary, agree who issues, installs, verifies and retires it. The privileged-access review addresses access scope and authority; this test addresses whether a credential change reaches the software that depends on it.

A fictional two-worker integration

A super fund buys an administration service that sends a daily reconciliation file. The service has a live transfer worker and a separate scheduled worker. In an authorised test environment, the supplier creates replacement credential B, updates the live worker and successfully sends a non-sensitive test file. The scheduled worker still references credential A.

The result supports the live worker's tested path. It does not establish that the next scheduled transfer will complete after A is retired. These workers and credentials are fictional; no actual fund, administrator or credential value is shown.

Fictional rotation: live worker uses replacement B and test file T is received; the scheduled worker still uses A. Its next run is untested and retirement of A is held.FICTIONAL ACCEPTANCE TEST · NO SECRET VALUESOne secret.Two consumers.Replacement BCreated · consumer coverage mattersLive workerUses BTest file TReceivedScheduledStill uses ANext runUNTESTEDRetirement of A: heldOriginal illustration. No completed supplier result.
Fictional rotation: live worker uses replacement B and test file T is received; the scheduled worker still uses A. Its next run is untested and retirement of A is held.FICTIONAL ACCEPTANCE TEST · NO SECRET VALUESOne secret.Two consumers.Replacement BCreated · consumers to verifyLive workerUses BTest file TReceivedScheduledStill uses ANext runUNTESTEDRetirement of A: heldCheck the scheduled consumer.Original illustration. No completed supplier result.
Assess the unresolved evidence.

Before the exercise, identify the actual consumers with the supplier. Include scheduled jobs, standby workers, maintenance scripts and recovery configurations where they use this credential. Record exclusions and their basis. A list copied from the main application configuration may omit a job maintained by another team.

Agree the success and failure observations

Arrange an authorised exercise with the service owner and supplier. Use non-production or controlled non-sensitive test activity first, and agree any production change separately. Define the rollback authority and the conditions that stop the change. A suspected stolen credential needs an incident response decision about immediate revocation; routine overlap for convenience may be inappropriate.

Test pointEvidence to retainExample finding
Replacement provisionedCredential identifier/version reference, owner and intended permissionsB exists, but its permissions differ from A.
Consumers changedConfiguration or deployment references for the agreed consumersLive worker uses B; scheduled worker still uses A.
Business task completedCorrelated test-job reference and receiving-system acknowledgementAuthentication succeeds, but no file arrives.
Old credential retiredIssuer-side retirement evidence and an authorised rejection check where safeA was removed from one store but remains accepted by the service.
Scheduled and recovery paths checkedA completed scheduled test and evidence for relevant standby configurationManual run succeeds; the scheduler has not executed.
Exception managedOwner, service consequence, mitigation and next evidence dateRetirement is held while one documented consumer is changed.

Avoid a destructive rejection test against a live business transaction. The engineering team should choose a safe method to establish the superseded credential's status without causing account lockouts or interrupting customers. An issuer audit event, scoped test identity or controlled request may be appropriate depending on the service.

Make the consumer list the acceptance record

Record each consumer separately. In the fictional example, the live transfer worker uses B and has a test-file receipt; the scheduled worker still references A and has no scheduled-run result. Those two rows support a partial change, with retirement still to decide. Do not turn “one successful connection” into a completed fleet rotation.

Ask the supplier: “Which configured consumers use this credential reference, including scheduled and recovery paths? For each, show the replacement version reference and a completed representative job. Separately show the issuer's status for A.” A consumer's last-used time can help scope an investigation, but an infrequent job may not have run during that observation window.

Download the credential-consumer worksheet (CSV). It contains reference labels only. Never paste passwords, keys or tokens into the worksheet.

Separate rollback from continued access

For IAM user access keys, AWS documents a sequence involving a replacement key, consumer updates, an inactive old key and verification before deletion. That is a product-specific example, not a universal procedure for every API secret. It also shows why “removed from the application's settings” and “no longer accepted by the issuer” are different observations.

If a rollback temporarily re-enables an old credential, record who authorised it, why it was acceptable and when it must be retired again. Do not use rollback as a reason to leave a potentially compromised secret active. The security incident owner determines the response to suspected compromise.

A successful authentication response is also narrower than a successful business task. Match the submitted test reference to the intended receipt, file or reconciliation outcome. Use the webhook retry guide if the changed integration has retry or duplicate-processing behaviour that needs a separate test.

Close the change against the evidence

CPS 234 requires controls commensurate with information assets and systematic testing of their effectiveness. It does not prescribe the fictional two-worker test, a universal rotation interval or a particular secrets product. The regulated entity retains its security and risk decisions.

In the example, record: “The live worker completed test file T using B. The scheduled worker's change and next scheduled test remain open. Retirement of A requires the authorised cutover decision and issuer-side evidence.” Do not mark rotation complete from the first connection screenshot. Close the record when the agreed consumers, business outcomes and retirement evidence have been checked, with any remaining exception explicitly owned.

Contact Us

We'll reach out to schedule a live demo of Contrata.

Contrata uses these details to respond to your request and sends them through its form-delivery service. Read the website privacy policy for how we handle your information.