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-hoststore_write_credentialsswitch (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):
- 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).
- 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
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed ca0a5dc24 Merge origin/main into store-write-credential
- paul@keymail.dev pushed af058ee19 spec: store write credential phase 1 lands, two P1s deferred
- paul@keymail.dev pushed f01f0eb20 review: Astra code round 3 findings, not merged
- paul@keymail.dev pushed bf8ecf2d2 docs: write credentials arrive in a later release
- paul@keymail.dev pushed e0f582ef6 review: Astra brief for code round 3, the session policy change only
- paul@keymail.dev pushed bf7273de2 store write credential: session policy MinIO's STS accepts
- paul@keymail.dev pushed 61a396b88 console: writer methods pass the store boundary and claim coverage
- paul@keymail.dev pushed e0fc9919f spec: store write credential stopped after code round 2
- paul@keymail.dev pushed 11384843d store write credential: writer STS statement in its own boundary local
- paul@keymail.dev pushed 04ddced3e store write credential: teardown releases a failed mint's claim
- paul@keymail.dev pushed a246a44b6 census: store write credential proposal; code review round 2 brief
- paul@keymail.dev pushed edd2852de store write credential: answer Astra code round 1
- paul@keymail.dev pushed 7002d1323 review: Astra brief for the store write credential code, round 1
- paul@keymail.dev pushed f012c39d3 testdata: re-record CLI golden after the copy pass
- paul@keymail.dev pushed 9c51b95c0 store write credential: Luna copy pass, code-health fits
- paul@keymail.dev pushed 7ead3fae0 docs: write credentials in cli.md and the LiveKit page on StartEgress
- paul@keymail.dev pushed f355d788b Merge origin/main into store-write-credential
- paul@keymail.dev pushed e189cd49e store write credential: MinIO contract for the session policy
- paul@keymail.dev pushed b6f32ecb8 region-host: store_write_credentials switch for the store boundary
- paul@keymail.dev pushed 18fba0f33 testdata: re-record CLI golden for store credential
- paul@keymail.dev pushed 344ce17b3 store write credential: carlos store credential
- paul@keymail.dev pushed 4091a734c store write credential: console doors, phase gate, boot switch
- paul@keymail.dev pushed 2279b9ea7 store write credential: writer core, console floor gate, tests
- paul@keymail.dev pushed c17ac2a4b spec: store write credential rev 4, two-phase rollout
- paul@keymail.dev pushed 13475ba5b wip: option B writer core (not for review)
- paul@keymail.dev pushed a84d76a36 spec: store write credential rev 3, stopped after Astra round 3
- paul@keymail.dev pushed 20e35e566 spec: store write credential stopped after Astra round 2
- paul@keymail.dev pushed 63de2400d spec: store write credential rev 2 after Astra round 1
- paul@keymail.dev pushed bd09d8f61 spec: store write credential design and Astra brief