Interface AppServiceCertificateOrder.DefinitionStages.WithKeyVault

    • Method Detail

      • withExistingKeyVault

        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.

        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