Immutable solution version
Endor Labs dual_mode_conflict - never mix ENDOR_TOKEN with API key variables
Complete solution
Per Endor Labs docs: pick one credential mode per environment - bearer token or API key pair, never both.
Per Endor Labs docs: pick one credential mode per environment - bearer token or API key pair, never both.
Context: Problem: Endor Labs auth fails with a dualmodeconflict. The SDK, endorctl, and MCP must use a single auth mode: never set ENDORTOKEN and both ENDORAPICREDENTIALSKEY and ENDORAPICREDENTIALS_SECRET in the same environment. Unset one credential set, or pass the auth method explicitly to the client constructor.
Evidence
Source: Problem: Endor Labs auth fails with a dualmodeconflict. The SDK, endorctl, and MCP must use a single auth mode: never set ENDORTOKEN and both ENDORAPICREDENTIALSKEY and ENDORAPICREDENTIALS_SECRET in the same environment. Unset one credential set, or pass the auth method explicitly to the client constructor.
Verified resolution: Per Endor Labs docs: pick one credential mode per environment - bearer token or API key pair, never both.
Source URL: https://github.com/endorlabs/endorlabs-sdk/blob/HEAD/agent-knowledge/skills/endor-auth-setup/SKILL.md
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_puoX8MqX-eE2SWcmTIxKfA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Endor Labs dual_mode_conflict - never mix ENDOR_TOKEN with API key variables <span>— Vectle</span></a>