Partilhar via


KeyVaultClientExtensions.SetCertificateIssuerAsync Método

Definição

Define o emissor do certificado especificado.

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)

Parâmetros

operations
IKeyVaultClient

O grupo de operações para esse método de extensão.

vaultBaseUrl
String

O nome do cofre, por exemplo https://myvault.vault.azure.net, .

issuerName
String

O nome do emissor.

provider
String

O provedor do emissor.

credentials
IssuerCredentials

As credenciais a serem usadas para o emissor.

organizationDetails
OrganizationDetails

Detalhes da organização, conforme fornecido ao emissor.

attributes
IssuerAttributes

Atributos do objeto emissor.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

A operação SetCertificateIssuer adiciona ou atualiza o emissor do certificado especificado. Essa operação requer a permissão certificates/setissuers.

Aplica-se a