KeyVaultClientExtensions.SetCertificateContactsAsync(IKeyVaultClient, String, Contacts, CancellationToken) Method

Definition

Sets the certificate contacts for the specified key vault.

public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.Contacts> SetCertificateContactsAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, Microsoft.Azure.KeyVault.Models.Contacts contacts, System.Threading.CancellationToken cancellationToken = null);
static member SetCertificateContactsAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * Microsoft.Azure.KeyVault.Models.Contacts * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.Contacts>

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

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

contacts
Contacts

The contacts for the key vault certificate.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Contacts>

Remarks

Sets the certificate contacts for the specified key vault. Authorization:

requires the certificates/managecontacts permission.

Applies to