什么是对OAuth的PKCS P12私钥的谷歌API的密码? [英] What is the Google API password for the OAuth PKCS p12 private key?

查看:233
本文介绍了什么是对OAuth的PKCS P12私钥的谷歌API的密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在谷歌API的设置提供了一种方法来创建一个服务帐户的项目。

The Google API setup provides a way to create a project with a service account.

我下载的私钥的PKCS#12 P12文件。

I download the private key as a PKCS #12 p12 file.

在哪里可以找到这个文件的密码?

Where do I find the password for this file?

推荐答案

答: notasecret

<一个href=\"https://developers.google.com/console/help/#service_accounts\">https://developers.google.com/console/help/#service_accounts

您的应用程序请求在服务器到服务器交互使用OAuth 2.0访问令牌时需要的私钥。谷歌不会保留这个私人密钥的副本,并且该屏幕是获得这个特殊的私有密钥的唯一的地方。当您单击下载私有密钥按钮,PKCS#12格式的私钥被下载到本地计算机。由于屏幕显示,则必须安全地保存该密钥。

Your application needs the private key when requesting an OAuth 2.0 access token in server-to-server interactions. Google does not keep a copy of this private key, and this screen is the only place to obtain this particular private key. When you click the "Download private key" button, the PKCS #12 formatted private key is downloaded to your local machine. As the screen indicates, you must securely store this key.

下载的私钥的名称是关键的指纹。

The name of the downloaded private key is the key's thumbprint.

当检查您的计算机上的键,或在您的应用程序中使用的关键,您将需要提供密码 notasecret 。请注意,虽然所有谷歌发行的私钥密码是相同的(notasecret),每个键加密唯一。

When inspecting the key on your computer, or using the key in your application, you will need to provide the password notasecret. Please note that while the password for all Google-issued private keys is the same (notasecret), each key is cryptographically unique.

这篇关于什么是对OAuth的PKCS P12私钥的谷歌API的密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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