azure-identity: Azure::Identity::WorkloadIdentityCredential Class Reference
Rachel Davis
Published Feb 15, 2026
Workload Identity Credential supports Azure workload identity authentication on Kubernetes and other hosts supporting workload identity. See the Azure Kubernetes Service documentation at for more information. More...
#include <workload_identity_credential.hpp>
◆ WorkloadIdentityCredential() [1/2]
| explicit |
- Parameters
-
options Options for token retrieval.
◆ WorkloadIdentityCredential() [2/2]
- Parameters
-
options Options for token retrieval.
◆ ~WorkloadIdentityCredential()
| overridedefault |
| override |
- Parameters
-
tokenRequestContext A context to get the token in. context A context to control the request lifetime.
- Exceptions
-
Azure::Core::Credentials::AuthenticationException Authentication error occurred.
The documentation for this class was generated from the following files: