CertificateClient.CreateIssuerAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or replaces a certificate CertificateIssuer in the key vault. This operation requires the certificates/setissuers permission.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>> CreateIssuerAsync (Azure.Security.KeyVault.Certificates.CertificateIssuer issuer, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateIssuerAsync : Azure.Security.KeyVault.Certificates.CertificateIssuer * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>>
override this.CreateIssuerAsync : Azure.Security.KeyVault.Certificates.CertificateIssuer * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Security.KeyVault.Certificates.CertificateIssuer>>
Public Overridable Function CreateIssuerAsync (issuer As CertificateIssuer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CertificateIssuer))
Parameters
- issuer
- CertificateIssuer
The CertificateIssuer to add or replace in the vault.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
The created certificate issuer.
Exceptions
Name of issuer
is empty.
issuer
or Name of issuer
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET