Skip to content

AzureKeyVaultTransport Class

The HTTP transport the custodian's Key Vault calls travel on.

C#
public static class AzureKeyVaultTransport

Inheritance System.Object → AzureKeyVaultTransport

Fields

AzureKeyVaultTransport.HttpClientName Field

The name the transport's client is registered under, published so a host can configure it without copying the string: services.AddHttpClient(AzureKeyVaultTransport.HttpClientName) reaches the same client the custodian resolves.

C#
public const string HttpClientName = "KeyVaultClient";

Field Value

System.String

Remarks

The value is the client type's name because this is a typed client, and that is the logical name AddHttpClient<TClient> gives it. The credential authenticates over a transport of its own, so what a host chains here does not cover the token requests.