carlos / platform Public

store-write-credential

Status: phase 1, for merging (Paul chose option 3 on 2026-11-25). Both doors refuse (write_credentials_not_released), so this release cannot make a writer, a floor or a credential.

Store write credentials: a temporary credential that can only upload under one folder of an app's store, for 15 minutes to 24 hours, for a service such as LiveKit Cloud Egress. Design: docs/superpowers/specs/2026-11-25-store-write-credential-design.md.

What it does:

  • Writer user. Each store that uses write credentials gets a writer IAM user (carlos-w-..., claimed by name per store) that never holds a lasting key. The console mints with a single-use key and STS GetFederationToken, under a core-built session policy. The app's own key never gains STS.
  • Phase gate. writeCredentialsReleasedPhase = 1; both doors answer 503. Phase 2 is a one-line change.
  • Console floor. The first mint writes control/console-floors/store-writers.json, which the deployment bucket policy makes create-only and never deleted. While it exists, adopting boxes refuse a console build without the writer-aware marker.
  • Surface. Two console doors, carlos store credential, the region-host store_write_credentials switch (the boundary is byte-identical when off), the MinIO contract, and the docs. The LiveKit page is on StartEgress, compile-checked against server-sdk-go v2.20.1.

Two P1s, deferred by Paul to the phase 2 branch. Phase 2 must not switch on until both are fixed and reviewed afresh (design section 13, docs/superpowers/notes/store-write-credential-followups.md):

  1. Named-unit recovery repoints a console through PointLive before adoptHost, bypassing the floor (code review round 2). Fix: one console-floor admission for every repoint, with a guard test (option A).
  2. The session policy's deny families leave object actions such as s3:ListObjectAnnotations, s3:PutObjectAnnotation and s3:UpdateObjectEncryption open to a direct session grant (code review round 3). Fix: NotAction on AWS, with a separate MinIO document and contract (option 1).

Census: approved by Astra at bf7273de and recorded on #280. Re-proposed after merging main, with no unit of this branch changed.

🤖 Generated with Claude Code

Commits 29
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity