1

I have unknowingly uploaded my api key for my app on Github and thus I deleted the api key from console.developer.google.com

,Did it guarantee me that there will not be any issue with that api key?

Also ,I want help in how to remove that from all the commits in the project on Github.

Any Suggestions are welcomed.

Sheetal gupta
  • 191
  • 1
  • 10
  • 1
    Why don't you try to use the key and ensure it does not function? – Jeffrey Blattman Oct 25 '18 at 00:02
  • Possible duplicate of [Remove sensitive files and their commits from Git history](https://stackoverflow.com/questions/872565/remove-sensitive-files-and-their-commits-from-git-history) – frederj May 27 '19 at 19:31

1 Answers1

1

Did it guarantee me that there will not be any issue with that api key?

Yes, considering the key is deleted from your account. Do test it, as commented.

I want help in how to remove that from all the commits in the project on Github.

Follow the GitHub guide "Removing sensitive data from a repository".
The BFG repo cleaner can help too.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250