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 5a14d1b commit 05ed0ceCopy full SHA for 05ed0ce
sdk/azidentity/workload_identity.go
@@ -99,7 +99,7 @@ func NewWorkloadIdentityCredential(options *WorkloadIdentityCredentialOptions) (
99
file := options.TokenFilePath
100
if file == "" && options.GetFederatedToken == nil {
101
if file, ok = os.LookupEnv(azureFederatedTokenFile); !ok {
102
- 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")
103
}
104
105
tenantID := options.TenantID
0 commit comments