多个API密钥 [英] Multiple API Keys

查看:163
本文介绍了多个API密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司帮助为多个客户开发Google地图网络应用程序。我个人不是开发者,所以请原谅我提出一个可能对其他人显而易见的问题。



我需要注册多个API密钥,因为我我的API密钥不想超过25K。那么是否有可能注册多个API密钥 - 每个客户端一个密钥?这将确保一个客户端不会影响其他客户端,并且我个人不会超过api限制。 我创建了多个密钥。



您的每个客户端都需要在控制台中成为一个单独的 Project 。然后,您将所有配额分开。



但请注意,所有密钥均与您的 Google帐户绑定。如果你的一个客户做了一件令人发指的事情,它可能反映在你的账户和所有项目上。另一方面,因为这是您的帐户,Google会联系您关于使用情况,并且您可以禁用该特定密钥(从而阻止您的客户端执行任何操作)。


My company helps develop google map web apps for multiple clients. I am personally not a developer so please excuse me for asking a question that is likely obvious to everyone else.

I need to sign up for more than one API key because I do not want to exceed 25K on my one API Key. So is it possible to sign up for more than one API key - one for each one of my clients? This would ensure one client does not impact the rest and personally I do not exceed the api limit.

解决方案

I've created multiple keys for this purpose.

Each of your clients needs to be a separate Project in the Console. You then keep all of the quotas separate.

However: note that all of the keys are tied to your Google account. If one of your clients does something heinous it could reflect on your account and all the projects. On the other hand, because it's your account, Google will contact you about the usage and you could disable that particular key (thus stopping your client doing whatever it is).

这篇关于多个API密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆