{"version":"2.1.221","anchor":"artifact-environment-variables-with-the-api-token-treated-as","canonical_anchor":"artifact-environment-variables-with-the-api-token-treated-as","heading":"Artifact environment variables, with the API token treated as a credential","tier":"use","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/artifact-environment-variables-with-the-api-token-treated-as","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### Artifact environment variables, with the API token treated as a credential\n\nThree artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.\n\n**What**\n\nThree new `CLAUDE_CODE_ARTIFACT*` variables are recognised by the CLI, and the token among them is handled as a secret rather than ordinary configuration.\n\n**Details**\n\n- Added to the recognised env list: `CLAUDE_CODE_ARTIFACTS_API_TOKEN`, `CLAUDE_CODE_ARTIFACT_ASSET_BASE_URL`, `CLAUDE_CODE_ARTIFACT_LIVE_BASE_URL`.\n- The asset and live base URLs are plain configuration; the token is classified as a credential.\n- As a credential it is stripped from the environment handed to spawned processes, and counted alongside `CLAUDE_CODE_OAUTH_TOKEN` and `ANTHROPIC_API_KEY`.\n\n**Evidence**\n\n`CLAUDE_CODE_ARTIFACTS_API_TOKEN`\n\n- Area: Artifacts\n- Names: `CLAUDE_CODE_ARTIFACTS_API_TOKEN`, `CLAUDE_CODE_ARTIFACT_ASSET_BASE_URL`, `CLAUDE_CODE_ARTIFACT_LIVE_BASE_URL`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 0\/5"}