Compartir a través de

Microsoft.KeyVault.KeyVaultCertificateSelector UI 元素

用于选择密钥保管库证书的控件。

UI 示例

向用户提供用于选择可用证书的选项。

Microsoft.KeyVault.KeyVaultCertificateSelector

选择“选择证书”后,用户可以指定一个密钥保管库以及该密钥保管库中的证书。

Microsoft.KeyVault.KeyVaultCertificateSelector select certificate

此控件将更新,以显示选定的密钥保管库和证书名称。

Microsoft.KeyVault.KeyVaultCertificateSelector show selected certificate

架构

{
  "name": "keyVaultCertificateSelection",
  "type": "Microsoft.KeyVault.KeyVaultCertificateSelector",
  "visible": true,
  "toolTip": "Select certificate",
  "label": "KeyVault certificates selection"
}

示例输出

{
  "keyVaultName": "azuretestkeyvault1",
  "keyVaultId": "/subscriptions/{subscription-id}/resourceGroups/resourcegroup1/providers/Microsoft.KeyVault/vaults/azuretestkeyvault1",
  "certificateName": "certificate1",
  "certificateUrl": "https://azuretestkeyvault1.vault.azure.cn/secrets/certificate1/{id}",
  "certificateThumbprint": "1B721E84DDDD1BB69282B4A54F18C6ADB1C174F2"
}

后续步骤