Method: projects.locations.instances.getCertificateAuthority

取得執行個體的憑證授權單位詳細資料。

HTTP 要求

GET https://memorystore.googleapis.com/v1/{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

ID。憑證授權單位的專屬名稱。格式: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

詳情請參閱 身分與存取權管理說明文件

ManagedCertificateAuthority

代管的憑證授權單位。

JSON 表示法
{
  "caCerts": [
    {
      object (CertChain)
    }
  ]
}
欄位
caCerts[]

object (CertChain)

用於受管理伺服器驗證的 PEM 編碼 CA 憑證鏈結。

CertChain

憑證鏈結。

JSON 表示法
{
  "certificates": [
    string
  ]
}
欄位
certificates[]

string

以分葉到根的順序,形成 CA 鏈結的憑證。