When you use API keys in your applications, take
care to keep them secure, do the following Steps -
1. Do
not embed API keys directly in code
2. Do
not store API keys in files inside your application's source tree
3. Restrict
your API keys to be used by only the IP addresses, referrer URLs, and mobile
apps that need them
4. Delete
unneeded API keys
5. Regenerate
your API keys periodically
6. Review
your code before publicly releasing it.
Stayed Informed -
15 Best ASP.Net MVC Tutorial & Examples
Setting up API keys, do the following Steps to
create your application's API key -
1. Go
to the Cloud Platform Console.
2. From
the projects list, select a project or create a new one.
3. If
the APIs & services page isn't already open, open the left side menu and
select APIs & services.
4. On
the left, choose Credentials.
5. Click
Create credentials and then select API key.
Monitoring APIs, do the following Steps -
1. Go
to the Cloud Platform Console.
2. From
the projects list, select a project.
3. If
the APIs & services page isn't already open, open the left side menu and
select APIs & services.
4. Click
the name of the API. Traffic for the selected API is displayed on the Overview
screen.
5. To
view or change quotas, click Quotas.
References
-
I hope you are enjoying with this post! Please
share with you friends. Thank you so much!