Skip to content

Allow trusted orchestrators to provision only a selected runtime session credential #5007

Closed

Description

@neubig

Desired Behavior

Docker automation bundles need to start and inspect their own conversation on the inner agent-server. The command environment correctly strips session keys, and forwarding the outer key would grant access to every runtime. There is currently no authenticated control-plane endpoint to obtain only the selected runtime credential.

Acceptance Criteria

  • A host-authenticated endpoint returns only the selected Docker runtime session key, never the outer server key, encryption key, or broker token.
  • Responses prohibit caching and unknown conversations are rejected without provisioning.
  • Automation dispatch injects this per-runtime credential explicitly into its private environment upload.
  • Unauthenticated requests are denied; tests verify isolation and unknown-ID behavior.

Readiness

ready-for-dev. Depends on the per-conversation runtime provisioning in #3403.

Activity

  1. github-actions commented on Sep 12, 2026

    @github-actions
    Contributor

    ✅ ready-for-dev label applied

    This issue meets the readiness criteria and is ready for contribution.
    A contributor can now open a PR that links this issue (Fixes #<number>).

    This is an automated check — no AI was used to generate this comment.

  2. added
    ready-for-dev
    on Sep 12, 2026
  3. removed
    ready-for-dev
    on Sep 12, 2026
  4. added
    enhancement
    on Sep 12, 2026
  5. added
    ready-for-dev
    on Sep 12, 2026
  6. all-hands-bot commented on Sep 18, 2026

    @all-hands-bot
    Collaborator

    Proposed closure: completed. PR #5008 ("Closes #5007") merged into feat/agent-server-docker-runtime, shipped to main via PR #3403 (2026-09-16). Current main provides the requested host-authenticated, runtime-scoped credential endpoint: POST /{conversation_id}/runtime/credentials (runtime_credentials) in docker_runtime/routers.py. Maintainers should verify before closing.

    This comment was generated by an AI agent (OpenHands) on behalf of the user.

  7. all-hands-bot commented on Sep 25, 2026

    @all-hands-bot
    Collaborator

    Proposed closure: completed.

    PR #5008 ("feat(agent-server): provision runtime-scoped session credentials", Closes #5007) merged on 2026-09-13 and shipped to main via PR #3403, providing the authenticated per-runtime credential endpoint requested here. Maintainers should verify before closing.

    This comment was generated by an AI agent (OpenHands) on behalf of the user.

  8. neubig commented on Sep 25, 2026

    @neubig
    MemberAuthor

    Closing as completed: PR #5008 merged and shipped to main through PR #3403, providing runtime-scoped session credential provisioning.

    This issue was reviewed against the linked implementation and current main branch. This comment was generated by an AI agent (OpenHands) on behalf of the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-dev

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions