feat: environment updater plugin for .env, Doppler, Railway, GitHub Secrets (#710)#758
Open
zdfgu113 wants to merge 1 commit into
Open
feat: environment updater plugin for .env, Doppler, Railway, GitHub Secrets (#710)#758zdfgu113 wants to merge 1 commit into
zdfgu113 wants to merge 1 commit into
Conversation
Add a new secrets/env-updater package that orchestrates environment
variable synchronization across multiple secret management providers.
- New package: @profullstack/sh1pt-secrets-env-updater
- SecretProvider adapter wrapping existing providers (dotenvx, doppler,
railway, github, onepassword)
- Standalone helpers: pullFrom, pushTo, syncEnv, diffEnv, readEnvFile,
writeEnvFile
- Key filtering via include/exclude glob patterns
- Built-in .env file read/write with comment preservation
- CLI commands:
- `sh1pt secret env-update` — sync secrets from one provider to many
- `sh1pt secret env-diff` — compare secrets between two providers
- Registered env-updater in adapter-registry under secrets category
- 19 tests covering orchestrator, file I/O, filtering, sync, and diff
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
Implements the environment updater plugin requested in issue #710. Integrates with .env files, Doppler, Railway, and GitHub Secrets to sync environment variables across providers.
What is included
New package: packages/secrets/env-updater
CLI commands added to packages/cli/src/commands/secrets.ts
Supported providers
Testing
Closes #710