AzureNamedKeyCredential.Update(String, String) Method

Definition

Updates the named key. This is intended to be used when you've regenerated your service key and want to update long-lived clients.

public void Update (string name, string key);
member this.Update : string * string -> unit
Public Sub Update (name As String, key As String)

Parameters

name
System.String

The name of the key.

key
System.String

The key to use for authenticating with the Azure service.

Exceptions

System.ArgumentNullException

Thrown when the name or key is null.

System.ArgumentException

Thrown when the name or key is empty.

Applies to