你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AppServiceCertificateOrder.DefinitionStages.WithKeyVault Interface
public interface WithKeyVault
An app service certificate order definition allowing more domain verification methods to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
App |
withExistingKeyVault(Vault vault)
Specifies an existing key vault to store the certificate private key. The vault MUST allow 2 service principals to read/write secrets: f3c21649-0979-4721-ac85-b0216b2cf413 and abfa0a7c-a6b6-4736-8310-5855508787cd. If they don't have access, an attempt will be made to grant access. If you are logged in from an identity without access to the Active Directory Graph, this attempt will fail. |
App |
withNewKeyVault(String vaultName, Region region)
Creates a new key vault to store the certificate private key. DO NOT use this method if you are logged in from an identity without access to the Active Directory Graph. |
Method Details
withExistingKeyVault
public WithCreate withExistingKeyVault(Vault vault)
Specifies an existing key vault to store the certificate private key.
The vault MUST allow 2 service principals to read/write secrets: f3c21649-0979-4721-ac85-b0216b2cf413 and abfa0a7c-a6b6-4736-8310-5855508787cd. If they don't have access, an attempt will be made to grant access. If you are logged in from an identity without access to the Active Directory Graph, this attempt will fail.
Parameters:
Returns:
withNewKeyVault
public WithCreate withNewKeyVault(String vaultName, Region region)
Creates a new key vault to store the certificate private key.
DO NOT use this method if you are logged in from an identity without access to the Active Directory Graph.
Parameters:
Returns:
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈