在Google Clould存储中找不到公共API访问权限

时间:2015-09-11 08:19:51

标签: google-cloud-storage google-cloud-platform

来自https://github.com/GoogleCloudPlatform/storage-getting-started-javascript

/**
    * Enter the API key from the Google Developers Console, by following these
    * steps:
    * 1) Visit https://cloud.google.com/console and select your project
    * 2) Click on "APIs & auth" in the left column and then click “Credentials”
    * 3) Find section "Public API Access" and use the "API key." If sample is
    * being run on localhost then delete all "Referers" and save. Setting
    * should display "Any referer allowed." For more info see:
    * https://developers.google.com/console/help/new/#generatingdevkeys
    */

我转到第3步,但是我看不到公共API访问。我在哪里可以找到它? 这是我的屏幕截图 enter image description here

1 个答案:

答案 0 :(得分:2)

页面已移动。更新说明:

  1. 访问https://console.developers.google.com,然后从顶部的下拉菜单中选择您的项目。
  2. 点击左侧菜单栏上的“凭据”。
  3. 点击"创建凭据"下拉并选择" API密钥"。
  4. 选择"浏览器密钥"
  5. 如果在localhost上运行示例,则删除所有" Referers"并保存。