nats: an external broker scopes container credentials (auth callout) #1301

Open
opened 2026-10-27 13:39:50 +00:00 by sam · 0 comments
Owner

On the embedded broker a container logs in as its task with its run credential and reaches only its own subjects. An external broker has no such hook, so in external mode containers still receive the broker's own token, which reaches every subject; archied reports this as the nats_credential_scope health issue. Done when an external broker delegates container logins to archied through NATS auth callout and grants the same per-task subjects, and the health issue is gone.


Imported from beads archie-core-ei1i · GitHub #1376 · type task · priority P3 · created 2026-10-04

On the embedded broker a container logs in as its task with its run credential and reaches only its own subjects. An external broker has no such hook, so in external mode containers still receive the broker's own token, which reaches every subject; archied reports this as the nats_credential_scope health issue. Done when an external broker delegates container logins to archied through NATS auth callout and grants the same per-task subjects, and the health issue is gone. --- _Imported from beads `archie-core-ei1i` · GitHub #1376 · type task · priority P3 · created 2026-10-04_
sam added the lowtask labels 2026-10-27 13:39:50 +00:00
sam self-assigned this 2026-10-27 13:39:50 +00:00
sam added the deferred label 2026-11-15 17:26:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1301