Method: projects.locations.clusters.getCertificateAuthority

获取 Redis 集群的证书授权机构信息详情。

HTTP 请求

GET https://redis.googleapis.com/v1/{name=projects/*/locations/*/clusters/*/certificateAuthority}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。Redis 集群证书授权机构资源名称,格式为 projects/{projectId}/locations/{locationId}/clusters/{clusterId}/certificateAuthority,其中 locationId 表示 Google Cloud 区域。

请求正文

请求正文必须为空。

响应正文

Redis 集群证书授权机构

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

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}/clusters/{cluster}/certificateAuthority

联合字段 server_ca。服务器 CA 信息 server_ca 只能是下列其中一项:
managedServerCa

object (ManagedCertificateAuthority)

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅 Authentication Overview

ManagedCertificateAuthority

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

object (CertChain)

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

CertChain

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

string

构成 CA 链的证书,从叶到根的顺序。