如何将我的Google API密钥下载为PEM文件? [英] How can I download my Google API key as PEM file?

查看:158
本文介绍了如何将我的Google API密钥下载为PEM文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图做一个简单的python脚本,从Google BigQuery中提取数据。我在Bigquery上发现了很多帖子和谷歌文档,但我还没有取得任何成功。我目前的问题是我需要从PEM文件中读取我的API密钥,但是我找不到任何方式从Google开发控制台下载我的API密钥。我只能复制/粘贴文本。

I'm trying to do a simple python script that pulls data from Google BigQuery. I've found many posts and google documents on Bigquery, but I've yet to have any success. My current problem is that I need to read my API key from a PEM file, but I can't find any way to download my API key from the google dev console. All I can do is copy/paste the text.

推荐答案

您必须创建一个新的客户端ID账户这将下载一个新的p12文件。

You have to create a new client Id with a type of "service account" this will download a new p12 file.

这篇关于如何将我的Google API密钥下载为PEM文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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