Cloud Application Security
A developer commits a cloud access key to a public source repository by mistake. What should the team do FIRST?
Show the answer
Correct answerB. Revoke the exposed key and issue a new one
AWhy not this: An ignore list only prevents future commits and leaves the exposed key valid.
BWhy this is right: Revocation invalidates the exposed credential immediately, which limits misuse.
CWhy not this: More logging helps detection later but does not stop use of the leaked key.
DWhy not this: History rewriting cannot recall copies already scraped or cloned by others.
Once a key is public it must be treated as compromised, so revoking and replacing it comes first. Deleting the commit does not help because copies and scrapers may already have captured the key.