Share via


KeyVaultClient.SetCertificateIssuerWithHttpMessagesAsync Method

Definition

Sets the specified certificate issuer.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.IssuerBundle>> SetCertificateIssuerWithHttpMessagesAsync (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.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SetCertificateIssuerWithHttpMessagesAsync : string * string * string * Microsoft.Azure.KeyVault.Models.IssuerCredentials * Microsoft.Azure.KeyVault.Models.OrganizationDetails * Microsoft.Azure.KeyVault.Models.IssuerAttributes * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.IssuerBundle>>
override this.SetCertificateIssuerWithHttpMessagesAsync : string * string * string * Microsoft.Azure.KeyVault.Models.IssuerCredentials * Microsoft.Azure.KeyVault.Models.OrganizationDetails * Microsoft.Azure.KeyVault.Models.IssuerAttributes * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.IssuerBundle>>
Public Function SetCertificateIssuerWithHttpMessagesAsync (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IssuerBundle))

Parameters

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.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Implements

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Thrown when a required parameter is null

Remarks

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

Applies to