paint-brush
How to Keep API Keys Out of GitHub Repositoriesby@marwaeltayeb
359 reads
359 reads

How to Keep API Keys Out of GitHub Repositories

by Marwa Eltayeb3mFebruary 24th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

When you upload your Android app on GitHub, you need to hide it as no one has access to it except you. It is not good to push your secret things into a public repository as other people could use up your limited API calls. Sharing of API keys becomes more of a concern if the API key authenticates someone for access to a subset of data. I am going to show you how you can hide your API key in a file called gradle.properties in the Gradle folder.

Company Mentioned

Mention Thumbnail
featured image - How to Keep API Keys Out of GitHub Repositories
Marwa Eltayeb HackerNoon profile picture
Marwa Eltayeb

Marwa Eltayeb

@marwaeltayeb

Android Developer

Learn More
LEARN MORE ABOUT @MARWAELTAYEB'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Marwa Eltayeb HackerNoon profile picture
Marwa Eltayeb@marwaeltayeb
Android Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Nxcli
Willitsmoke
Co
Aspiranettoyage
Navkarenterprise
Leftic
Kirdanmotors
Tjtengineering
Poast