Share via


KeyVaultClientExtensions.GetCertificateContactsAsync Method

Definition

Lists the certificate contacts for a specified key vault.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.Contacts> GetCertificateContactsAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, System.Threading.CancellationToken cancellationToken = default);
static member GetCertificateContactsAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.Contacts>
<Extension()>
Public Function GetCertificateContactsAsync (operations As IKeyVaultClient, vaultBaseUrl As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Contacts)

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.

Applies to