DEV Community

Aadit Unni
Aadit Unni

Posted on

Remove AWS sensitive data from GitHub commit history

[54/100] #100DaysOfCloud Today, I removed AWS sensitive data from GitHub commit history.

Sometimes we accidentally add our AWS sensitive data like account id, Access keys, etc in in GitHub as a string maybe in a json file or some sort and then when we realize it, we delete it from the GitHub. The problem is even though we delete it, It will be present in the commit history. To remove that from the commit history we use a tool called BFG Repo-Cleaner.

You can try do it by yourself by following the steps from the link below: GitHub

Top comments (0)