docs: add portable env key lifecycle, rotation and recovery guidance#29
Merged
roodboi merged 4 commits intoMar 24, 2026
Merged
Conversation
|
roodboi
deleted the
codex/define-env-key-rotation-and-recovery-flows-16o779
branch
March 24, 2026 02:36
roodboi
pushed a commit
that referenced
this pull request
Mar 24, 2026
## <small>1.21.3 (2026-03-24)</small> * fix(env): support multiline values and project-relative secret paths ([78d0860](78d0860)) * Merge branch 'main' into codex/define-env-key-rotation-and-recovery-flows-16o779 ([1dee32d](1dee32d)) * Merge branch 'main' into codex/define-env-key-rotation-and-recovery-flows-16o779 ([edf8091](edf8091)) * Merge branch 'main' into codex/define-env-key-rotation-and-recovery-flows-16o779 ([401ef6a](401ef6a)) * Merge pull request #29 from hack-dance/codex/define-env-key-rotation-and-recovery-flows-16o779 ([408f664](408f664)), closes [#29](#29) * docs: clarify portable env recovery flows ([5bb98db](5bb98db))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
Planned portable key lifecycle flowssection todocs/env.mdwith an operator-goal table and detailed rules forValue rotation,Share rotation,Recovery / share repair, andProject-key rotation.docs/env.mdwith recovery and lost-key handling guidance, required recovery guardrails, and CLI/UX expectations for each operator flow.docs/plans/2026-03-13-env-portability-and-secret-management-design.mdto introduceRecovery / share repairas a distinct action, add an operator decision matrix, and expand lost-key handling flows and recovery package expectations.docs/plans/2026-03-13-env-portability-and-secret-management-plan.mdto require tests for lost-key vs compromised-key handling and to mandate separate commands and guardrails for the four operator actions.Testing
bun test --cwd services/auth-broker tests/index.test.ts && bun test tests/env-command.test.tsas the next verification step for the planned implementation.Codex Task