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
String

The name of the key.

key
String

The key to use for authenticating with the Azure service.

Exceptions

Thrown when the name or key is null.

Thrown when the name or key is empty.

Applies to