We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb585c commit 29f587dCopy full SHA for 29f587d
sdk/azidentity/workload_identity.go
@@ -102,7 +102,7 @@ func NewWorkloadIdentityCredential(options *WorkloadIdentityCredentialOptions) (
102
file := options.TokenFilePath
103
if file == "" && options.GetFederatedToken == nil {
104
if file, ok = os.LookupEnv(azureFederatedTokenFile); !ok {
105
- return nil, errors.New("no token file specified. Check pod configuration or set TokenFilePath or GetFederatedToken in the options")
+ return nil, errors.New("no token source specified. Check pod configuration or set GetFederatedToken or TokenFilePath in the options")
106
}
107
108
tenantID := options.TenantID
0 commit comments