trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Add functionality to revoke a secret if there is a known method

Open CameronLonsdale opened this issue 5 months ago • 1 comments

Description

Certain secrets are self-revocating, meaning that you can revoke the secret using only the secret itself. Buildkite tokens and GitHub is another.

There is an opportunity to codify this knowledge within trufflehog for ease of use.

Preferred Solution

With a specific command, trufflehog will run the code to revoke a secret when you specify which secret type it is. Similiar to how trufflehog analyze operates.

CameronLonsdale avatar May 23 '25 00:05 CameronLonsdale