You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Environmental indicates that the environment variables of the process should be used to
36
+
/// create the TokenCredential for the Cosmos client. This will use the Azure Rust SDK's
37
+
/// DefaultCredentialChain to derive the TokenCredential based on what environment variables
38
+
/// have been set.
39
+
///
40
+
/// Service Principal with client secret:
41
+
/// - `AZURE_TENANT_ID`: ID of the service principal's Azure tenant.
42
+
/// - `AZURE_CLIENT_ID`: the service principal's client ID.
43
+
/// - `AZURE_CLIENT_SECRET`: one of the service principal's secrets.
44
+
///
45
+
/// Service Principal with certificate:
46
+
/// - `AZURE_TENANT_ID`: ID of the service principal's Azure tenant.
47
+
/// - `AZURE_CLIENT_ID`: the service principal's client ID.
48
+
/// - `AZURE_CLIENT_CERTIFICATE_PATH`: path to a PEM or PKCS12 certificate file including the private key.
49
+
/// - `AZURE_CLIENT_CERTIFICATE_PASSWORD`: (optional) password for the certificate file.
50
+
///
51
+
/// Workload Identity (Kubernetes, injected by the Workload Identity mutating webhook):
52
+
/// - `AZURE_TENANT_ID`: ID of the service principal's Azure tenant.
53
+
/// - `AZURE_CLIENT_ID`: the service principal's client ID.
54
+
/// - `AZURE_FEDERATED_TOKEN_FILE`: TokenFilePath is the path of a file containing a Kubernetes service account token.
55
+
///
56
+
/// Managed Identity (User Assigned or System Assigned identities):
57
+
/// - `AZURE_CLIENT_ID`: (optional) if using a user assigned identity, this will be the client ID of the identity.
58
+
///
59
+
/// Azure CLI:
60
+
/// - `AZURE_TENANT_ID`: (optional) use a specific tenant via the Azure CLI.
61
+
///
62
+
/// Common across each:
63
+
/// - `AZURE_AUTHORITY_HOST`: (optional) the host for the identity provider. For example, for Azure public cloud the host defaults to "https://login.microsoftonline.com".
64
+
/// See also: https://github.com/Azure/azure-sdk-for-rust/blob/main/sdk/identity/README.md
0 commit comments