DEV Community

Aadit Unni
Aadit Unni

Posted on

1

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)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay