IAppServiceCertificateOrder.CreateKeyVaultBindingAsync Method

Definition

Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.IAppServiceCertificateKeyVaultBinding> CreateKeyVaultBindingAsync (string certificateName, Microsoft.Azure.Management.KeyVault.Fluent.IVault vault, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateKeyVaultBindingAsync : string * Microsoft.Azure.Management.KeyVault.Fluent.IVault * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.IAppServiceCertificateKeyVaultBinding>
Public Function CreateKeyVaultBindingAsync (certificateName As String, vault As IVault, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IAppServiceCertificateKeyVaultBinding)

Parameters

certificateName
System.String

The name of the Key Vault Secret.

vault
IVault

The key vault to store the certificate.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IAppServiceCertificateKeyVaultBinding>

Applies to