Interface AppServiceCertificateOrder.DefinitionStages.WithKeyVault

All Known Subinterfaces:
AppServiceCertificateOrder.Definition
Enclosing interface:
AppServiceCertificateOrder.DefinitionStages

public static interface AppServiceCertificateOrder.DefinitionStages.WithKeyVault
An app service certificate order definition allowing more domain verification methods to be set.
  • Method Details

    • withExistingKeyVault

      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

      AppServiceCertificateOrder.DefinitionStages.WithCreate withNewKeyVault(String vaultName, com.azure.core.management.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