Skip to interview prep
Apexed

15. A credential was committed to a private repository. What would you recommend?

MediumApplication & data security

Technical
Show model answer

Treat its exposure seriously and coordinate revocation or rotation with the service owner, preserving application continuity. Assess where the credential grants access and review relevant usage evidence through the incident process.

Remove it from current source and address repository history and copies appropriately, but do not assume deleting the text invalidates the credential. Move future access to the supported secret-management process.

What interviewers listen for

  • Invalidate exposed access
  • Assess scope and use
  • Deletion is not revocation
A credential was committed to a private repository. What would you recommend — Cybersecurity interview question — Apexed