Repository navigation
Environments: definitions + per-person credentials (two files) - #43
Closed
jcombs-pointblue wants to merge 2 commits into
Closed
jcombs-pointblue wants to merge 2 commits into
jcombs-pointblue wants to merge 2 commits into
Conversation
…son's credentials Environments.load(definitions, credentials) merges the project's definitions (refused when they hold a secret key; secretKeys lists them) with one person's credentials file, the person's keys winning and names only in their file being their own (Described.own). A relative <env>.secrets resolves beside the definitions. One file reads as before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Author
|
Merged into master by hand (merge commit) and released in 0.16.0; GitHub shows the PR closed because the branch was deleted after the merge. |
Contributor
Author
|
Correction to the earlier comment: the merge ran now. Merged into master by hand (merge commit) and released in 0.16.0; the PR shows closed because the branch was deleted after the merge. |
Contributor
Author
|
Correction to the earlier comment: the merge and release have now actually happened. Merged into master by hand (merge commit) and released in 0.16.0; the PR shows closed because the branch was deleted after the merge. |
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.
Summary
U1 of DirXMLDevWeb's
docs/multi-user.md(decided 2026-10-08): the hosted server keeps the project's environment definitions (no secrets) and one person's credentials per environment name.Environments.load(Path definitions, Path credentials): merged view, the person's keys over the definitions', names only in the credentials file are theirs (Described.own); the credentials file may be absent (the environment is listed but not connected).Environments.secretKeys(Path): the secret keys a file holds (…password,…Password{Env,Command,Keychain}); the two-file load refuses definitions that hold one, so a shared password cannot survive the upgrade.<env>.secretsresolves beside the definitions file (the shared driver secrets, decision 2).Tests
EnvironmentsTwoFilesTest: overlay and own names, definition without credential, refusal and the key list, single file as before.bin/ci-portable.shpasses.🤖 Generated with Claude Code