Interview Prep/DevSecOps/Secrets and Identity Management

A Slack webhook URL and a Stripe live key were posted in a public GitHub issue. What is your response sequence?

BeginnerScenarioSecrets and Identity Management
Answer

Situation read → Public exposure means bots have already seen it. Speed matters more than root cause right now.

What I'd do →

  1. Revoke and reissue both: roll the Stripe key in the dashboard, regenerate the Slack webhook.
  2. Edit or delete the issue content and ask GitHub support to purge cached versions if needed.
  3. Check Stripe logs and Slack audit for usage between post time and revocation.
  4. Update consumers with the new values from the secret store.
  5. Write a short incident note and enable GitHub push protection and secret scanning alerts org-wide.

Why → Deleting the comment does nothing for copies already scraped.

Interview tip → Order matters: revoke, then clean, then investigate.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets and Identity Management