Scan text for secrets
Paste text under Scan text for secrets on the Data Security page; any credential found is stored masked and listed under Secrets.
Scan
- Open Data Security and go to Secrets.
- Under Scan text for secrets, fill in Where it came from (a file or a system).
- Paste the text into the box for config, IaC and logs.
- If the paste is the whole of that source, tick This is the whole of it. A secret an earlier scan of the same source found, and this text no longer holds, is then marked for rotation. This needs a source name.
- Select Scan for secrets.
The page answers, for example 2 secrets detected, 2 new. or Nothing that looks like a secret. Detected secrets are stored masked (for example ghp_••••0000); the pasted text itself is not kept.
Act on a secret
Each secret's row and page offer:
- Revoked (on the row) or It is revoked (on the page): you revoked it at its provider. This records the decision; the platform cannot revoke it for you.
- False positive: it is not a real credential.
- Accepted risk or Accept the risk: it stays valid on purpose.
- Reopen: undo any of the three.
The secret's page tells you what to do: revoke it at its provider, rotate everything that used it, check the provider's audit log since it was detected, and remove it from the source and its history.