Someone pasted a secret key into a project document. What do I do?

Potential credential exposure

Treat the key as potentially exposed and contact the authorized security or service owner. Use the incident process to revoke or rotate it safely, assess where it was accessible, and preserve needed evidence. Removing the text alone does not invalidate copies.

What to do now

  1. Notify the credential and incident owners
  2. Restrict further sharing of the document
  3. Revoke or rotate the credential safely
  4. Review exposure and verify service recovery
Recommended action flow for potential credential exposure: Notify the credential and incident owners then Restrict further sharing of the document then Revoke or rotate the credential safely then Review exposure and verify service recovery. Escalate when the key may have enabled unauthorized access or its use is unknown.

When to escalate

Escalate when

The key may have enabled unauthorized access or its use is unknown.

Who decides

The qualified security privacy legal or control owner

Example

An exposed API key is revoked and replaced through the integration owner's controlled process.

Mistake to avoid

Only deleting the visible text and assuming the credential is safe.

Prevent a repeat

Review access and controls when scope changes; obtain qualified advice for legal, regulatory and high-impact security decisions.

Suggested ApprovedFlow setup

  • Documents
  • Tasks
  • Approvals

Track remediation tasks and non-sensitive review evidence; restrict sensitive incident or security detail through the authorized systems and permissions. See the platform

Related cases

Practice references