Audience-bound tokens; API key only to the build's own hosts
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- authentication, cli, security
Research direction
Start with the backend contract v1 issue, which this work depends on, and the referenced ADRs 0114 and 0119. The issue describes the credential rules but does not name implementation files or tests; first trace where the CLI selects credentials for each host and audience. Done means the API key is limited to the build's own hosts and other audiences receive scoped, short-lived, revocable tokens as specified.
Written by the indexing model from the issue text.
Description
Goal
The master API key stops being the credential for everything.
Scope
- The API key is sent only to hosts on the build's own allow-list (ADR 0114 stands for those).
- Every other audience (agents, jobs, user-added backends) gets an audience-bound token from the OpenID Connect (OIDC) provider (ADR 0119): one audience, scopes, a short lifetime, revocable.
- A user-added backend never receives the API key.
- Agent tokens: read-only scope, optionally one dataset, at most a few days, listed and revocable by the person.
ADR
"The API key goes to the build's own hosts; every other audience gets a token of its own."
Depends on
The backend contract v1 issue (the descriptor carries the audience).
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 4h 48m
- Merged PRs (30d)
- 468
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 nemarOrg/nemar-cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
testing
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
All issues in nemarOrg/nemar-cli
Similar issues
-
Codex使用可 かんたん コード
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ryuki-moro/Nicomaru#348 ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day