你当前正在访问 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
AppServiceCertificateOrder.DefinitionStages.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.

AppServiceCertificateOrder.DefinitionStages.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.

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:

vault - the vault to store the private key

Returns:

the next stage of the definition

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:

vaultName - the name of the new key vault
region - the region to create the vault

Returns:

the next stage of the definition

Applies to