Language

CloudMetadataKeyNames Class

Definition

Well-known keys for the cloud-specific metadata exchanged through ICloudMetadataProvider.

public static class CloudMetadataKeyNames
type CloudMetadataKeyNames = class
Public Class CloudMetadataKeyNames
Inheritance
CloudMetadataKeyNames

Remarks

These string literals are the shared vocabulary used to exchange cloud-specific values between cooperating SDKs and their callers. A key literal is intentionally identical across every SDK that recognizes it, so a value written under a key by one layer can be read under the same key by another layer without any translation table.

The list is add-only: new keys can be introduced without breaking existing callers, because consumers look up only the keys they understand and ignore the rest. When no longer needed, keys can be marked as ObsoleteAttribute to discourage new use while leaving the constant in place; producers simply stop writing a value under it and consumers stop reading.

Fields

Name Description
FederatedCredentialAudience

The Federated Identity Credential (FIC) token-exchange audience for a cloud, stored in its bare form (without a /.default suffix), for example api://AzureADTokenExchange for the public cloud. Consumers that need the client-credentials scope form append /.default themselves.

Applies to