Would you accept Workload Identity Federation support for Anthropic-format profiles?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- authentication
Research direction
Start with llm/anthropic.go, server/server_mgmt.go, server/server.go, and agent/bedrock_gateway.go to compare Anthropic authentication and the existing HTTP transport approach. The issue outlines profile fields, token exchange, endpoint restrictions, and tests, but leaves design choices open. Done means agreeing on an approach and implementing WIF support with profile persistence, safe token handling, and the listed tests.
Written by the indexing model from the issue text.
Description
The need
ARTEX authenticates an Anthropic profile only with a static API key. Operators whose policy forbids static keys cannot use it against the Claude API. That includes Anthropic's Cyber Verification Program (CVP): its security requirements say, for the first-party API, "Static or long-lived API keys are not permitted", already for Red Team and Specialized Access, and for Defense Access from December 15, 2026. Workload Identity Federation (WIF) is Anthropic's replacement: a workload presents a JWT from the organization's own identity provider and gets an access token that expires in minutes to hours.
The reason applies beyond CVP: a static key in a penetration testing tool sits (encrypted) in the database and its backups and outlives the engagement. With WIF, ARTEX would store no secret, only IDs and a token file path.
Current behavior
- Norma's Anthropic provider (
llm/anthropic.go, v0.4.13) sendsx-api-key; it has no bearer token, token exchange or refresh. ARTEX's model list fetch (server/server_mgmt.go) and connection test (testLLM,server/server.go) sendx-api-keytoo. - Pasting a minted token as the API key does not work: it goes out as
x-api-keyinstead ofAuthorization: Bearer, and it expires. - A token-refreshing reverse proxy in front of ARTEX would leave a local endpoint that uses the model without a credential, and agent processes can "reach the loopback API and the database if the network allows it" (SECURITY.md).
Rough shape, if you want it
- Where the token handling lives: (A) ARTEX only, one PR: a
RoundTripperon the HTTP client ARTEX already passes to Norma swapsx-api-keyforAuthorization: Bearer, asagent/bedrock_gateway.godoes; or (B) an optional token source on Norma'sllm.Configfirst, then ARTEX. Norma has issues turned off, so I'm asking about both here. - Profile: an auth mode on Anthropic-format profiles,
api_key(unchanged default) orworkload_identitywith the federation rule, organization, optional service account and workspace IDs, and the identity token file path. Stored in the profile, no vendor preset or vendor environment variables, per CONTRIBUTING. - Safety: route binding does not protect a profile with nothing secret to re-enter, so an operator-set server flag (like
ARTEX_LLM_PRIVATE_ENDPOINTS) would pin the allowed base URL and token directory. The access token stays in memory, each identity token is exchanged once (WIF rejects a reusedjti), and neither reaches agent processes, logs or error messages. - Tests: a schema migration, a profile save/load test, unit tests against a fake token endpoint, and an opt-in live test like
server/intercept_live_test.go.
I'd leave the details (token caching, restart behavior, file permissions) for the PR discussion.
Questions
- Do you want WIF support in ARTEX at all?
- If so, option A or B?
- An auth mode with extra fields on the profile, or a separate credential record?
Out of scope
The bedrock-gateway format, and Claude through cloud platforms (Bedrock, Vertex, Foundry).
Environment
Checked against ARTEX main at 6479ed7 (2026-12-01), which builds against github.com/BaaRai/Norma v0.4.13 (a replace of Autumn-27/norma).
- Dominant language
- Go
- Stars
- 18.7k
- Forks
- 7k
- Avg merge
- 10h 57m
- Merged PRs (30d)
- 494
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BaaRai/ARTEX
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
BaaRai/ARTEX#981 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BaaRai/ARTEX#980 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
BaaRai/ARTEX#812 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
question
Difficulty 4/5 1-2 days Newbie friendliness 35/100
BaaRai/ARTEX#983 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 3/5 1-2 days Newbie friendliness 20/100
BaaRai/ARTEX#977 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
BUG: Backend Docker build fails due to Go version mismatchPossibly taken @Aakriti0207 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 93/100
gittuf/visualizer#203 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
agent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
turbot/flowpipe#1162 · 1 comment ·
Maintainers usually reply within 1 day