KeyVaultClientExtensions.SetCertificateIssuerAsync Method

Definition

Sets the specified certificate issuer.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.IssuerBundle> SetCertificateIssuerAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string issuerName, string provider, Microsoft.Azure.KeyVault.Models.IssuerCredentials credentials = default, Microsoft.Azure.KeyVault.Models.OrganizationDetails organizationDetails = default, Microsoft.Azure.KeyVault.Models.IssuerAttributes attributes = default, System.Threading.CancellationToken cancellationToken = default);
static member SetCertificateIssuerAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * string * Microsoft.Azure.KeyVault.Models.IssuerCredentials * Microsoft.Azure.KeyVault.Models.OrganizationDetails * Microsoft.Azure.KeyVault.Models.IssuerAttributes * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.IssuerBundle>
<Extension()>
Public Function SetCertificateIssuerAsync (operations As IKeyVaultClient, vaultBaseUrl As String, issuerName As String, provider As String, Optional credentials As IssuerCredentials = Nothing, Optional organizationDetails As OrganizationDetails = Nothing, Optional attributes As IssuerAttributes = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IssuerBundle)

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

The vault name, for example https://myvault.vault.azure.net.

issuerName
String

The name of the issuer.

provider
String

The issuer provider.

credentials
IssuerCredentials

The credentials to be used for the issuer.

organizationDetails
OrganizationDetails

Details of the organization as provided to the issuer.

attributes
IssuerAttributes

Attributes of the issuer object.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.

Applies to