Method: projects.locations.instances.getCertificateAuthority

获取实例的证书授权机构的详细信息。

HTTP 请求

GET https://memorystore.googleapis.com/v1alpha/{name=projects/*/locations/*/instances/*}/certificateAuthority

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。证书授权机构的名称。格式:projects/{project}/locations/{location}/instances/{instance}/certificateAuthority

请求正文

请求正文必须为空。

响应正文

实例的证书授权机构。

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "name": string,

  // Union field server_ca can be only one of the following:
  "managedServerCa": {
    object (ManagedCertificateAuthority)
  }
  // End of list of possible types for union field server_ca.
}
字段
name

string

标识符。证书授权机构的唯一名称。格式:projects/{project}/locations/{location}/instances/{instance}

联合字段 server_ca。服务器证书授权机构的相关信息。server_ca 只能是下列其中一项:
managedServerCa

object (ManagedCertificateAuthority)

代管式服务器证书授权机构。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

IAM 权限

需要拥有 name 资源的以下 IAM 权限:

  • memorystore.instances.get

如需了解详情,请参阅 IAM 文档

ManagedCertificateAuthority

一个受管的证书授权机构。

JSON 表示法
{
  "caCerts": [
    {
      object (CertChain)
    }
  ]
}
字段
caCerts[]

object (CertChain)

用于托管服务器身份验证的 PEM 编码 CA 证书链。

CertChain

证书链。

JSON 表示法
{
  "certificates": [
    string
  ]
}
字段
certificates[]

string

构成 CA 链的证书,按叶级证书到根证书的顺序排列。