Damage Control

What to do if you accidentally publish your API key

Image for post
Image for post
Source

1. Delete the API key

2. Generate a new API key

3. Hide the New API Key

4. Make a New key for Each App

5. Reset Your Environment Variables and Deploy

Moral of the Story

Written by

I love seafood, exploring new cities, board games and learning to love to code. https://github.com/sarakhandaker/portfolio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store