<PackageReference Include="Azure.Core" Version="1.47.1" />

Azure.AzureNamedKeyCredential

Credential allowing a named key to be used for authenticating to an Azure Service. It provides the ability to update the key without creating a new client.
namespace Azure { public class AzureNamedKeyCredential { public string Name { get; } public AzureNamedKeyCredential(string name, string key); public void Update(string name, string key); public void Deconstruct(out string name, out string key); } }