CertificateClient.GetIssuerAsync(String, CancellationToken) Method

Definition

Retrieves the specified certificate CertificateIssuer from the vault. This operation requires the certificates/getissuers permission.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>> GetIssuerAsync (string issuerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIssuerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>>
override this.GetIssuerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>>
Public Overridable Function GetIssuerAsync (issuerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CertificateIssuer))

Parameters

issuerName
String

The name of the CertificateIssuer to retrieve.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

The retrieved certificate issuer.

Exceptions

issuerName is empty.

issuerName is null.

Applies to