共用方式為


VaultCertificate interface

描述 Key Vault 中的單一憑證參考,以及憑證應該位於 VM 上的位置。

屬性

certificateStore

針對 Windows VM,指定應新增憑證之虛擬機上的證書存儲。 指定的證書存儲隱含在 LocalMachine 帳戶中。 針對 Linux VM,憑證檔案會放在 /var/lib/waagent 目錄下,並具有 X509 憑證檔案的檔名 {UppercaseThumbprint}.crt,以及私鑰的 {UppercaseThumbprint}.prv。 這兩個檔案都是 .pem 格式。

certificateUrl

這是已上傳至 Key Vault 做為秘密之憑證的 URL。 如需將秘密新增至 Key Vault,請參閱 將金鑰或秘密新增至金鑰保存庫

屬性詳細資料

certificateStore

針對 Windows VM,指定應新增憑證之虛擬機上的證書存儲。 指定的證書存儲隱含在 LocalMachine 帳戶中。 針對 Linux VM,憑證檔案會放在 /var/lib/waagent 目錄下,並具有 X509 憑證檔案的檔名 {UppercaseThumbprint}.crt,以及私鑰的 {UppercaseThumbprint}.prv。 這兩個檔案都是 .pem 格式。

certificateStore: string

屬性值

string

certificateUrl

這是已上傳至 Key Vault 做為秘密之憑證的 URL。 如需將秘密新增至 Key Vault,請參閱 將金鑰或秘密新增至金鑰保存庫

certificateUrl: string

屬性值

string