Skip to content

feat: request backend-specific access tokens #397

Closed

Description

@uniqueg

Problem

Registry entries default to auth: client_credentials, and the token is cached per issuer, client and scope, without a per-instance audience: one token serves all TES instances with that setting, so any registry-verified TES instance can replay it at the others, including the operator's own. From point 1 of #366.

Options

  • Per-backend audience or resource (RFC 8707) tokens, with the token cache keyed by them.
  • No default auth for registry entries (explicit opt-in).

Notes

This goes with token exchange, so it belongs to the redesign of 0.6.0 rather than to 0.5.0, which keeps proTES's own client_credentials tokens to backends. It needs:

  • FOCA: ServiceEntry and RegistryEntry forbid extra fields, and the default auth of RegistryEntry is FOCA's.
  • An identity provider that issues tokens for a resource or audience.
  • TES backends that check the audience.

Until then, the behaviour is as documented in docs/access-control.md.

Activity

  1. added this to the v0.6.0 milestone on Nov 3, 2026
  2. added
    priority: low
    status: triage
    type: security
    workload: days
    on Nov 3, 2026
  3. modified the milestones: v0.6.0, v0.7.0 on Nov 9, 2026
  4. added
    status: in progress
    and removed
    status: triage
    on Nov 13, 2026
  5. self-assigned this
    on Nov 13, 2026
  6. removed
    status: in progress
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: lowtype: securityworkload: days

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions