envilder 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +25 -14
  2. package/docs/CHANGELOG.md +1 -1
  3. package/docs/changelogs/cli.md +75 -0
  4. package/docs/changelogs/gha.md +63 -0
  5. package/docs/changelogs/sdk-dotnet.md +10 -0
  6. package/docs/changelogs/sdk-nodejs.md +10 -0
  7. package/docs/changelogs/sdk-python.md +10 -0
  8. package/lib/envilder/apps/cli/Startup.d.ts.map +1 -1
  9. package/lib/envilder/apps/cli/entry/Cli.d.ts.map +1 -1
  10. package/lib/envilder/apps/cli/entry/Cli.js +78 -15
  11. package/lib/envilder/apps/cli/entry/Cli.js.map +1 -1
  12. package/lib/envilder/apps/cli/errors/SilentExitError.d.ts.map +1 -1
  13. package/lib/envilder/apps/cli/errors/SilentExitError.js.map +1 -1
  14. package/lib/envilder/apps/cli/recovery/SsoLoginRecovery.js.map +1 -1
  15. package/lib/envilder/apps/gha/Startup.d.ts.map +1 -1
  16. package/lib/envilder/apps/gha/Startup.js +8 -0
  17. package/lib/envilder/apps/gha/Startup.js.map +1 -1
  18. package/lib/envilder/apps/shared/ContainerConfiguration.d.ts.map +1 -1
  19. package/lib/envilder/apps/shared/ContainerConfiguration.js +7 -0
  20. package/lib/envilder/apps/shared/ContainerConfiguration.js.map +1 -1
  21. package/lib/envilder/core/application/dispatch/DispatchActionCommand.d.ts +1 -1
  22. package/lib/envilder/core/application/dispatch/DispatchActionCommand.d.ts.map +1 -1
  23. package/lib/envilder/core/application/dispatch/DispatchActionCommand.js.map +1 -1
  24. package/lib/envilder/core/application/dispatch/DispatchActionCommandHandler.d.ts.map +1 -1
  25. package/lib/envilder/core/application/dispatch/DispatchActionCommandHandler.js.map +1 -1
  26. package/lib/envilder/core/application/pullSecretsToEnv/PullSecretsToEnvCommand.d.ts.map +1 -1
  27. package/lib/envilder/core/application/pullSecretsToEnv/PullSecretsToEnvCommand.js.map +1 -1
  28. package/lib/envilder/core/application/pullSecretsToEnv/PullSecretsToEnvCommandHandler.d.ts +3 -1
  29. package/lib/envilder/core/application/pullSecretsToEnv/PullSecretsToEnvCommandHandler.d.ts.map +1 -1
  30. package/lib/envilder/core/application/pullSecretsToEnv/PullSecretsToEnvCommandHandler.js +5 -2
  31. package/lib/envilder/core/application/pullSecretsToEnv/PullSecretsToEnvCommandHandler.js.map +1 -1
  32. package/lib/envilder/core/application/pushEnvToSecrets/PushEnvToSecretsCommand.d.ts.map +1 -1
  33. package/lib/envilder/core/application/pushEnvToSecrets/PushEnvToSecretsCommand.js.map +1 -1
  34. package/lib/envilder/core/application/pushEnvToSecrets/PushEnvToSecretsCommandHandler.d.ts.map +1 -1
  35. package/lib/envilder/core/application/pushEnvToSecrets/PushEnvToSecretsCommandHandler.js.map +1 -1
  36. package/lib/envilder/core/application/pushSingle/PushSingleCommand.d.ts.map +1 -1
  37. package/lib/envilder/core/application/pushSingle/PushSingleCommand.js.map +1 -1
  38. package/lib/envilder/core/application/pushSingle/PushSingleCommandHandler.d.ts.map +1 -1
  39. package/lib/envilder/core/application/pushSingle/PushSingleCommandHandler.js.map +1 -1
  40. package/lib/envilder/core/domain/EnvironmentVariable.d.ts.map +1 -1
  41. package/lib/envilder/core/domain/EnvironmentVariable.js +4 -2
  42. package/lib/envilder/core/domain/EnvironmentVariable.js.map +1 -1
  43. package/lib/envilder/core/domain/EnvironmentVariableName.d.ts +9 -0
  44. package/lib/envilder/core/domain/EnvironmentVariableName.d.ts.map +1 -0
  45. package/lib/envilder/core/domain/EnvironmentVariableName.js +70 -0
  46. package/lib/envilder/core/domain/EnvironmentVariableName.js.map +1 -0
  47. package/lib/envilder/core/domain/errors/DomainErrors.d.ts.map +1 -1
  48. package/lib/envilder/core/domain/errors/DomainErrors.js.map +1 -1
  49. package/lib/envilder/core/domain/ports/ISecretMasker.d.ts +4 -0
  50. package/lib/envilder/core/domain/ports/ISecretMasker.d.ts.map +1 -0
  51. package/lib/envilder/core/domain/ports/ISecretMasker.js +2 -0
  52. package/lib/envilder/core/domain/ports/ISecretMasker.js.map +1 -0
  53. package/lib/envilder/core/infrastructure/aws/AwsSecretProviderFactory.js.map +1 -1
  54. package/lib/envilder/core/infrastructure/aws/AwsSsmSecretProvider.d.ts.map +1 -1
  55. package/lib/envilder/core/infrastructure/aws/AwsSsmSecretProvider.js.map +1 -1
  56. package/lib/envilder/core/infrastructure/azure/AzureKeyVaultSecretProvider.d.ts.map +1 -1
  57. package/lib/envilder/core/infrastructure/azure/AzureKeyVaultSecretProvider.js.map +1 -1
  58. package/lib/envilder/core/infrastructure/azure/AzureSecretProviderFactory.js.map +1 -1
  59. package/lib/envilder/core/infrastructure/azure/AzureVaultUrlValidator.js.map +1 -1
  60. package/lib/envilder/core/infrastructure/github/GitHubActionsSecretMasker.d.ts +5 -0
  61. package/lib/envilder/core/infrastructure/github/GitHubActionsSecretMasker.d.ts.map +1 -0
  62. package/lib/envilder/core/infrastructure/github/GitHubActionsSecretMasker.js +10 -0
  63. package/lib/envilder/core/infrastructure/github/GitHubActionsSecretMasker.js.map +1 -0
  64. package/lib/envilder/core/infrastructure/github/NoOpSecretMasker.d.ts +5 -0
  65. package/lib/envilder/core/infrastructure/github/NoOpSecretMasker.d.ts.map +1 -0
  66. package/lib/envilder/core/infrastructure/github/NoOpSecretMasker.js +4 -0
  67. package/lib/envilder/core/infrastructure/github/NoOpSecretMasker.js.map +1 -0
  68. package/lib/envilder/core/infrastructure/logger/ConsoleLogger.d.ts.map +1 -1
  69. package/lib/envilder/core/infrastructure/package/PackageVersionReader.d.ts.map +1 -1
  70. package/lib/envilder/core/infrastructure/variableStore/FileVariableStore.d.ts +69 -2
  71. package/lib/envilder/core/infrastructure/variableStore/FileVariableStore.d.ts.map +1 -1
  72. package/lib/envilder/core/infrastructure/variableStore/FileVariableStore.js +294 -55
  73. package/lib/envilder/core/infrastructure/variableStore/FileVariableStore.js.map +1 -1
  74. package/lib/envilder/core/types.d.ts +5 -3
  75. package/lib/envilder/core/types.d.ts.map +1 -1
  76. package/lib/envilder/core/types.js +1 -0
  77. package/lib/envilder/core/types.js.map +1 -1
  78. package/lib/iac/bin/main.js.map +1 -1
  79. package/lib/iac/lib/core/types.js.map +1 -1
  80. package/lib/iac/lib/stacks/customStack.d.ts.map +1 -1
  81. package/lib/iac/lib/stacks/customStack.js.map +1 -1
  82. package/lib/iac/lib/stacks/staticWebsiteStack.d.ts.map +1 -1
  83. package/lib/iac/lib/stacks/staticWebsiteStack.js +61 -9
  84. package/lib/iac/lib/stacks/staticWebsiteStack.js.map +1 -1
  85. package/lib/iac/lib/stacks/utils.js.map +1 -1
  86. package/lib/sdks/nodejs/src/application/envilder-client.d.ts.map +1 -1
  87. package/lib/sdks/nodejs/src/application/envilder.d.ts.map +1 -1
  88. package/lib/sdks/nodejs/src/application/envilder.js.map +1 -1
  89. package/lib/sdks/nodejs/src/application/map-file-parser.d.ts.map +1 -1
  90. package/lib/sdks/nodejs/src/application/map-file-parser.js.map +1 -1
  91. package/lib/sdks/nodejs/src/application/secret-validation.d.ts.map +1 -1
  92. package/lib/sdks/nodejs/src/application/secret-validation.js.map +1 -1
  93. package/lib/sdks/nodejs/src/domain/expired-credentials-error.d.ts.map +1 -1
  94. package/lib/sdks/nodejs/src/domain/sso-session-expired-error.d.ts.map +1 -1
  95. package/lib/sdks/nodejs/src/infrastructure/aws/aws-ssm-secret-provider.d.ts.map +1 -1
  96. package/lib/sdks/nodejs/src/infrastructure/aws/aws-ssm-secret-provider.js.map +1 -1
  97. package/lib/sdks/nodejs/src/infrastructure/azure/azure-key-vault-secret-provider.d.ts.map +1 -1
  98. package/lib/sdks/nodejs/src/infrastructure/azure/azure-key-vault-secret-provider.js.map +1 -1
  99. package/lib/sdks/nodejs/src/infrastructure/secret-provider-factory.js.map +1 -1
  100. package/package.json +14 -15
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  <p align="center">
8
8
  <b>One secret mapping for local dev, CI/CD, and runtime.</b><br>
9
9
  <span>Define secrets once in <code>envilder.json</code>. Resolve them consistently from AWS SSM or Azure Key Vault.</span><br>
10
- <a href="https://envilder.com"><strong>Website & docs → envilder.com</strong></a>
10
+ <a href="https://envilder.com/?utm_source=npm&utm_medium=readme&utm_campaign=root"><strong>Website & docs → envilder.com</strong></a>
11
11
  </p>
12
12
 
13
13
  [![npm version](https://img.shields.io/npm/v/envilder.svg)](https://www.npmjs.com/package/envilder)
@@ -29,10 +29,14 @@ them from AWS SSM or Azure Key Vault. The same mapping file works in local dev (
29
29
  CI/CD (GitHub Action), and application startup (runtime SDKs).
30
30
 
31
31
  ```bash
32
+ # Zero-config: uses envilder.json and .env by default
33
+ npx envilder
34
+
35
+ # Or with explicit paths
32
36
  npx envilder --map=envilder.json --envfile=.env
33
37
  ```
34
38
 
35
- No SaaS middleman. No duplicated config. No `.env` drift. Secrets stay in your cloud.
39
+ No SaaS middleman. One versioned mapping contract. Secrets stay in your cloud.
36
40
 
37
41
  ## The problem
38
42
 
@@ -52,10 +56,11 @@ No SaaS middleman. No duplicated config. No `.env` drift. Secrets stay in your c
52
56
  - ⚡ **Works everywhere your code runs.** CLI for local dev, GitHub Action for CI/CD, runtime SDKs
53
57
  for application startup. Same file, same result.
54
58
  - 🔄 **Rotate secrets without config drift.** Keep application-facing variable names stable while
55
- rotating real secret values in AWS SSM or Azure Key Vault. Local dev, CI/CD, and runtime keep
56
- using the same mapping contract.
59
+ rotating real secret values in AWS SSM or Azure Key Vault. Generated `.env` files update only
60
+ when Envilder runs again; runtime consumers must restart or resolve again.
57
61
  - 🛡️ **Your cloud, zero infrastructure.** Secrets stay in AWS SSM or Azure Key Vault. No SaaS
58
- proxy, no extra servers, no data to migrate.
62
+ proxy or extra servers. The mapping contract stays consistent, while provider credentials and
63
+ secret migration remain provider-specific.
59
64
 
60
65
  ## ⚙️ Features
61
66
 
@@ -82,7 +87,8 @@ Or install globally:
82
87
  npm install -g envilder
83
88
  ```
84
89
 
85
- > **Requirements:** Node.js v22.12+. AWS CLI or Azure CLI configured.
90
+ > **Requirements:** Node.js v22.12+. Configure credentials and read access for either AWS SSM
91
+ > or Azure Key Vault.
86
92
  > See [full requirements](docs/requirements-installation.md).
87
93
 
88
94
  ### 2. Create a mapping file (`envilder.json`)
@@ -98,10 +104,11 @@ npm install -g envilder
98
104
  ### 3. Generate your `.env` file
99
105
 
100
106
  ```bash
101
- npx envilder --map=envilder.json --envfile=.env
107
+ npx envilder
102
108
  ```
103
109
 
104
- That's it. Your secrets are pulled from AWS SSM and written to `.env`.
110
+ That's it. With `envilder.json` in your current directory, no flags are needed — `--map` defaults to `envilder.json` and
111
+ `--envfile` defaults to `.env`. Your secrets are pulled from AWS SSM and written to `.env`.
105
112
  Add `.env` to `.gitignore`. The mapping file is versioned and reviewable in PRs.
106
113
 
107
114
  > 💡 Using Azure Key Vault? Add a `$config` section to your mapping file.
@@ -196,7 +203,7 @@ This means you can set a default provider in `$config` and override it per invoc
196
203
 
197
204
  ```bash
198
205
  # Uses $config from the map file
199
- envilder --map=envilder.json --envfile=.env
206
+ envilder
200
207
 
201
208
  # Overrides provider and vault URL from the map file
202
209
  envilder --provider=azure --vault-url=https://other-vault.vault.azure.net --map=envilder.json --envfile=.env
@@ -298,6 +305,9 @@ const secrets = await Envilder.fromMapFile('envilder.json')
298
305
 
299
306
  ## 🤖 GitHub Action
300
307
 
308
+ Reference the published `macalbert/envilder/github-action@v0` tag directly. It contains the
309
+ prebuilt action, so consumers do not need an Envilder build step.
310
+
301
311
  **AWS SSM (default):**
302
312
 
303
313
  ```yaml
@@ -308,7 +318,7 @@ const secrets = await Envilder.fromMapFile('envilder.json')
308
318
  aws-region: us-east-1
309
319
 
310
320
  - name: Pull secrets from AWS SSM
311
- uses: macalbert/envilder/github-action@v0.11.0
321
+ uses: macalbert/envilder/github-action@v0
312
322
  with:
313
323
  map-file: envilder.json
314
324
  env-file: .env
@@ -325,7 +335,7 @@ const secrets = await Envilder.fromMapFile('envilder.json')
325
335
  subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
326
336
 
327
337
  - name: Pull secrets from Azure Key Vault
328
- uses: macalbert/envilder/github-action@v0.11.0
338
+ uses: macalbert/envilder/github-action@v0
329
339
  with:
330
340
  map-file: envilder.json
331
341
  env-file: .env
@@ -337,7 +347,7 @@ const secrets = await Envilder.fromMapFile('envilder.json')
337
347
 
338
348
  ### 📚 More resources
339
349
 
340
- - [📖 Full Documentation](https://envilder.com): the complete guide at envilder.com
350
+ - [📖 Full Documentation](https://envilder.com/docs/getting-started/?utm_source=npm&utm_medium=readme&utm_campaign=root-docs): the complete guide at envilder.com
341
351
  - [Push Command Guide](docs/push-command.md)
342
352
  - [Pull Command Guide](docs/pull-command.md)
343
353
 
@@ -359,7 +369,8 @@ graph LR
359
369
  2. **Resolve**: Envilder fetches each secret from your cloud vault
360
370
  3. **Deliver**: secrets arrive as a `.env` file (CLI/GHA) or in-memory (SDKs)
361
371
  4. **Rotate**: update secret values in your cloud provider while keeping the same
362
- application-facing mapping
372
+ application-facing mapping. Rerun Envilder to refresh a generated `.env`, or restart/re-resolve
373
+ in runtime consumers
363
374
  5. **Bootstrap**: optionally push local values to your cloud provider when intentionally
364
375
  setting up or rotating secrets
365
376
 
@@ -380,7 +391,7 @@ Use Envilder when your secrets already live in your cloud provider and you want
380
391
 
381
392
  Envilder already covers CLI, GitHub Action, and runtime SDKs for .NET, Python, and Node.js.
382
393
 
383
- Next priorities include Go and Java SDKs, GCP Secret Manager, HashiCorp Vault, and exec mode.
394
+ Next priorities include Go and Java SDKs, GCP Secret Manager, and exec mode.
384
395
 
385
396
  See the [full roadmap](./ROADMAP.md).
386
397
 
package/docs/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@ Each Envilder component maintains its own changelog:
5
5
  | Component | Changelog | Package |
6
6
  |-----------|-----------|---------|
7
7
  | CLI | [cli.md](changelogs/cli.md) | [npm](https://www.npmjs.com/package/envilder) |
8
- | GitHub Action | [gha.md](changelogs/gha.md) | [Marketplace](https://github.com/marketplace/actions/envilder) |
8
+ | GitHub Action | [gha.md](changelogs/gha.md) | [Tagged action](https://github.com/macalbert/envilder/tree/v0/github-action) |
9
9
  | .NET SDK | [sdk-dotnet.md](changelogs/sdk-dotnet.md) | [NuGet](https://www.nuget.org/packages/Envilder) |
10
10
  | Python SDK | [sdk-python.md](changelogs/sdk-python.md) | [PyPI](https://pypi.org/project/envilder) |
11
11
  | Node.js SDK | [sdk-nodejs.md](changelogs/sdk-nodejs.md) | [npm](https://www.npmjs.com/package/@envilder/sdk) |
@@ -5,6 +5,81 @@ For SDK-specific changes, see `sdk-dotnet.md`, `sdk-python.md`, or `sdk-nodejs.m
5
5
 
6
6
  ---
7
7
 
8
+ ## [0.14.0] - 2026-09-26
9
+
10
+ ### Added
11
+
12
+ * **Zero-config defaults for `--map` and `--envfile`**: Running `envilder` with
13
+ no flags now resolves `envilder.json` from the current directory and writes
14
+ to `.env`. Both flags still override the defaults, and an empty `--map` value
15
+ is rejected rather than silently treated as absent
16
+ ([#314](https://github.com/macalbert/envilder/pull/314))
17
+
18
+ ### Changed
19
+
20
+ * **Push-single resolves `$config` from the default map file**: A
21
+ single-variable push (`--key` + `--value` + `--secret-path`) now reads the
22
+ `$config` section (`provider`, `vaultUrl`, `profile`) of `envilder.json` when
23
+ one is present, so it targets the same provider as the rest of the project
24
+ instead of silently defaulting to AWS SSM. A missing `envilder.json` is not
25
+ an error for push-single, `--push` is no longer required, and CLI flags still
26
+ override `$config`. The resolved provider is logged before the push
27
+ ([#314](https://github.com/macalbert/envilder/pull/314))
28
+
29
+ * **Reject empty single-secret options**: `--key`, `--value` and
30
+ `--secret-path` must now be non-empty whenever any of them is supplied.
31
+ Previously an explicitly empty value such as `--key ''` passed the
32
+ partial-option guard and fell through to a full `.env` push or pull
33
+ ([#314](https://github.com/macalbert/envilder/pull/314))
34
+
35
+ ### Fixed
36
+
37
+ * **Preserve secret values when writing `.env` files**: Values with hashes,
38
+ leading or trailing whitespace, quotes, backslashes or line breaks now
39
+ round-trip exactly, and updating a multi-line value no longer leaves the
40
+ rest of the old secret in the file. Unchanged assignments are kept byte for
41
+ byte, and a write that would not read back correctly aborts, naming only
42
+ the affected keys ([#515](https://github.com/macalbert/envilder/pull/515))
43
+
44
+ ### Security
45
+
46
+ * **Reject map-file mapping keys a `.env` file cannot represent**: Variable
47
+ names must now match `^[A-Za-z0-9_.-]+$`, checked when parsing a map file
48
+ and again before writing an environment file. This is exactly the key
49
+ grammar `.env` parsers recognize, so an accepted name reads back as itself.
50
+ Previously a name containing `=`, a carriage return, a newline or the
51
+ `U+2028`/`U+2029` line separators could smuggle an extra `key=value`
52
+ assignment into the generated file, and a name containing a space, `#`, a
53
+ tab or a non-Latin letter was written and then silently lost while the run
54
+ reported success. Dotted and hyphenated names remain valid
55
+ ([#511](https://github.com/macalbert/envilder/issues/511))
56
+
57
+ * **Reject the mapping key `__proto__`**: No `.env` parser can read this name
58
+ back, so the CLI previously resolved the secret and wrote a line that
59
+ silently never loaded. It is now rejected at map-file ingestion with an
60
+ explicit message ([#511](https://github.com/macalbert/envilder/issues/511))
61
+
62
+ ### Documentation
63
+
64
+ * **Point README links at specific docs pages with UTM tags**: The header link
65
+ and "Full Documentation" link in the README now carry UTM tags and the
66
+ latter lands on `envilder.com/docs/getting-started/`, so visits from GitHub
67
+ and npm to envilder.com can be measured
68
+
69
+ ---
70
+
71
+ ## [0.13.2] - 2026-08-14
72
+
73
+ ### Changed
74
+
75
+ * **Preserve CLI behavior while adding GitHub Actions masking**: The CLI now
76
+ uses a no-op masker in the shared pull pipeline, so runner masking remains
77
+ limited to GitHub Actions and does not alter CLI output or generated
78
+ environment files
79
+ ([#477](https://github.com/macalbert/envilder/pull/477))
80
+
81
+ ---
82
+
8
83
  ## [0.13.0] - 2026-06-26
9
84
 
10
85
  ### Added
@@ -1,3 +1,66 @@
1
+ ## [0.14.0] - 2026-09-26
2
+
3
+ ### Fixed
4
+
5
+ * **Preserve secret values when writing `.env` files**: Values with hashes,
6
+ leading or trailing whitespace, quotes, backslashes or line breaks now
7
+ round-trip exactly, and updating a multi-line value no longer leaves the
8
+ rest of the old secret in the file. Unchanged assignments are kept byte for
9
+ byte, and a write that would not read back correctly aborts, naming only
10
+ the affected keys ([#515](https://github.com/macalbert/envilder/pull/515))
11
+
12
+ ### Security
13
+
14
+ * **Reject map-file mapping keys a `.env` file cannot represent**: Variable
15
+ names must now match `^[A-Za-z0-9_.-]+$`, checked when parsing a map file
16
+ and again before writing an environment file. This is exactly the key
17
+ grammar `.env` parsers recognize, so an accepted name reads back as itself.
18
+ Previously a name containing `=`, a carriage return, a newline or the
19
+ `U+2028`/`U+2029` line separators could smuggle an extra `key=value`
20
+ assignment into the generated file, and a name containing a space, `#`, a
21
+ tab or a non-Latin letter was written and then silently lost while the run
22
+ reported success. Dotted and hyphenated names remain valid
23
+ ([#511](https://github.com/macalbert/envilder/issues/511))
24
+
25
+ * **Reject the mapping key `__proto__`**: No `.env` parser can read this name
26
+ back, so the Action previously resolved the secret and wrote a line that
27
+ silently never loaded. It is now rejected at map-file ingestion with an
28
+ explicit message ([#511](https://github.com/macalbert/envilder/issues/511))
29
+
30
+ ### Documentation
31
+
32
+ * **Point the README "Learn more" link at the Action docs**: It now lands on
33
+ `envilder.com/docs/github-action/` with UTM tags, so visits from the Action
34
+ README to envilder.com can be measured
35
+
36
+ ---
37
+
38
+ ## [0.13.2] - 2026-08-14
39
+
40
+ ### Security
41
+
42
+ * **Mask resolved secrets in subsequent workflow logs**: Register every
43
+ non-empty resolved value with the GitHub Actions runner before writing it
44
+ to the environment file, so exact matches emitted by later steps are
45
+ redacted. CLI behavior remains unchanged
46
+ ([#476](https://github.com/macalbert/envilder/issues/476),
47
+ [#477](https://github.com/macalbert/envilder/pull/477))
48
+
49
+ ---
50
+
51
+ ## [0.13.1] - 2026-07-31
52
+
53
+ ### Changed
54
+
55
+ * **Bundle the GitHub Action with esbuild**: Replace the ncc bundler so the
56
+ Action can build with TypeScript 7 while retaining a single minified
57
+ `dist/index.js` file, and configure Node.js 22 before executing the bundle.
58
+
59
+ * **Run development scripts with tsx**: Replace ts-node, which is incompatible
60
+ with TypeScript 7, for local package installation and CDK execution.
61
+
62
+ ---
63
+
1
64
  ## [0.13.0] - 2026-06-26
2
65
 
3
66
  ### Added
@@ -1,3 +1,13 @@
1
+ ## [0.5.1] - 2026-09-26
2
+
3
+ ### Documentation
4
+
5
+ * **Link the NuGet page to the .NET SDK docs**: The README's "Official
6
+ Website" link now points to `envilder.com/docs/sdks/dotnet/` with UTM tags,
7
+ so visits from NuGet to envilder.com can be measured
8
+
9
+ ---
10
+
1
11
  ## [0.5.0] - 2026-06-26
2
12
 
3
13
  ### Added
@@ -1,3 +1,13 @@
1
+ ## [0.4.1] - 2026-09-26
2
+
3
+ ### Documentation
4
+
5
+ * **Add a Links section to the npm README**: The `@envilder/sdk` page on npm
6
+ now links to the changelog and to `envilder.com/docs/sdks/nodejs/` with UTM
7
+ tags, so visits from npm to envilder.com can be measured
8
+
9
+ ---
10
+
1
11
  ## [0.4.0] - 2026-06-26
2
12
 
3
13
  ### Added
@@ -1,3 +1,13 @@
1
+ ## [0.5.1] - 2026-09-26
2
+
3
+ ### Documentation
4
+
5
+ * **Link the PyPI page to the Python SDK docs**: The README's "Official
6
+ Website" link now points to `envilder.com/docs/sdks/python/` with UTM tags,
7
+ so visits from PyPI to envilder.com can be measured
8
+
9
+ ---
10
+
1
11
  ## [0.5.0] - 2026-06-26
2
12
 
3
13
  ### Added
@@ -1 +1 @@
1
- {"version":3,"file":"Startup.d.ts","sourceRoot":"","sources":["../../../../src/envilder/apps/cli/Startup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,qCAAqC,CAAC;AAE7C,qBAAa,OAAO;IAClB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;;IAMtC,MAAM,CAAC,KAAK,IAAI,OAAO;IAIvB,iBAAiB,IAAI,IAAI;IAKzB,uBAAuB,CACrB,MAAM,CAAC,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI;IAKP,MAAM,IAAI,SAAS;IAInB,kBAAkB,IAAI,SAAS;CAGhC"}
1
+ {"version":3,"file":"Startup.d.ts","sourceRoot":"","sources":["../../../../src/envilder/apps/cli/Startup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,qCAAqC,CAAC;AAE7C,qBAAa,OAAO;IAClB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IAEtC,cAEC;IAED,MAAM,CAAC,KAAK,IAAI,OAAO,CAEtB;IAED,iBAAiB,IAAI,IAAI,CAGxB;IAED,uBAAuB,CACrB,MAAM,CAAC,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI,CAGN;IAED,MAAM,IAAI,SAAS,CAElB;IAED,kBAAkB,IAAI,SAAS,CAE9B;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"Cli.d.ts","sourceRoot":"","sources":["../../../../../src/envilder/apps/cli/entry/Cli.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AA2B1B,wBAAsB,IAAI,kBAqHzB"}
1
+ {"version":3,"file":"Cli.d.ts","sourceRoot":"","sources":["../../../../../src/envilder/apps/cli/entry/Cli.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAkC1B,wBAAsB,IAAI,kBA+JzB"}
@@ -19,16 +19,21 @@ var __rest = (this && this.__rest) || function (s, e) {
19
19
  return t;
20
20
  };
21
21
  import 'reflect-metadata';
22
+ import { existsSync } from 'node:fs';
22
23
  import { dirname, join } from 'node:path';
23
24
  import { fileURLToPath } from 'node:url';
24
25
  import { Command } from 'commander';
25
26
  import pc from 'picocolors';
26
27
  import { DispatchActionCommand } from '../../../core/application/dispatch/DispatchActionCommand.js';
28
+ import { InvalidArgumentError } from '../../../core/domain/errors/DomainErrors.js';
29
+ import { OperationMode } from '../../../core/domain/OperationMode.js';
27
30
  import { PackageVersionReader } from '../../../core/infrastructure/package/PackageVersionReader.js';
28
31
  import { readMapFileConfig } from '../../../core/infrastructure/variableStore/FileVariableStore.js';
29
32
  import { TYPES } from '../../../core/types.js';
30
33
  import { executeWithSsoRecovery } from '../recovery/SsoLoginRecovery.js';
31
34
  import { Startup } from '../Startup.js';
35
+ const DEFAULT_MAP_FILE = 'envilder.json';
36
+ const DEFAULT_ENV_FILE = '.env';
32
37
  let serviceProvider;
33
38
  function executeCommand(options) {
34
39
  return __awaiter(this, void 0, void 0, function* () {
@@ -55,44 +60,64 @@ export function main() {
55
60
  ${pc.yellow('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━')}
56
61
 
57
62
  ${pc.green('>')} ${pc.bold('Generate a .env file')} ${pc.dim('(pull secrets from the cloud)')}
58
- ${pc.cyan('envilder --map=envilder.json --envfile=.env')}
63
+ ${pc.cyan('envilder')} ${pc.dim('# uses envilder.json → .env by default')}
59
64
 
60
65
  ${pc.magenta('>')} ${pc.bold('Sync .env back to cloud')} ${pc.dim('(push secrets up)')}
61
- ${pc.cyan('envilder --push --map=envilder.json --envfile=.env')}
66
+ ${pc.cyan('envilder --push')} ${pc.dim('# uses envilder.json + .env by default')}
62
67
 
63
68
  ${pc.red('>')} ${pc.bold('Push a single secret')}
64
- ${pc.cyan('envilder --push --key=API_KEY --value=s3cret --secret-path=/my/path')}
69
+ ${pc.cyan('envilder --key=API_KEY --value=s3cret --secret-path=/my/path')}
65
70
 
66
71
  ${pc.blue('>')} ${pc.bold('Use Azure Key Vault')}
67
- ${pc.cyan('envilder --provider=azure --map=envilder.json --envfile=.env')}
72
+ ${pc.cyan('envilder --provider=azure --vault-url=https://my-vault.vault.azure.net')}
68
73
  `;
69
74
  program
70
75
  .name('envilder')
71
76
  .description(banner)
72
77
  .version(version)
73
- .option('--map <path>', 'Path to the JSON file with environment variable mapping (required for most commands)')
74
- .option('--envfile <path>', 'Path to the .env file to be generated or imported (required for most commands)')
78
+ .option('--map <path>', `Path to the JSON file with environment variable mapping (default: ${DEFAULT_MAP_FILE})`)
79
+ .option('--envfile <path>', `Path to the .env file to be generated or imported (default: ${DEFAULT_ENV_FILE})`)
75
80
  .option('--profile <name>', 'AWS CLI profile to use (optional)')
76
81
  .option('--provider <name>', 'Cloud provider to use: aws or azure (default: aws)')
77
82
  .option('--vault-url <url>', 'Azure Key Vault URL (overrides $config.vaultUrl in map file)')
78
- .option('--push', 'Push local .env file back to cloud provider')
79
- .option('--key <name>', 'Single environment variable name to push (only with --push)')
80
- .option('--value <value>', 'Value of the single environment variable to push (only with --push)')
81
- .option('--secret-path <path>', 'Secret path in your cloud provider for the single variable (only with --push)')
83
+ .option('--push', 'Push a map-file-backed .env file to the cloud provider')
84
+ .option('--key <name>', 'Environment variable name; with --value and --secret-path, performs a single-secret push (no --push required)')
85
+ .option('--value <value>', 'Secret value; with --key and --secret-path, performs a single-secret push (no --push required)')
86
+ .option('--secret-path <path>', 'Cloud secret path; with --key and --value, performs a single-secret push (no --push required)')
82
87
  .option('--ssm-path <path>', '[DEPRECATED: use --secret-path] Alias for --secret-path')
83
88
  .hook('preAction', (thisCommand) => {
84
89
  const opts = thisCommand.opts();
85
- if (opts.ssmPath) {
90
+ // Alias on presence, not truthiness: an explicitly empty --ssm-path must
91
+ // reach the single-secret guard below instead of vanishing silently.
92
+ if (opts.ssmPath !== undefined) {
86
93
  console.warn(pc.yellow('⚠️ --ssm-path is deprecated and will be removed in a future release. Use --secret-path instead.'));
87
- if (!opts.secretPath) {
94
+ if (opts.secretPath === undefined) {
88
95
  thisCommand.setOptionValue('secretPath', opts.ssmPath);
89
96
  }
90
97
  }
91
98
  })
92
99
  .action((_a) => __awaiter(this, void 0, void 0, function* () {
100
+ var _b;
93
101
  var { provider, vaultUrl } = _a, options = __rest(_a, ["provider", "vaultUrl"]);
94
- const fileConfig = options.map
95
- ? yield readMapFileConfig(options.map)
102
+ const singleSecretOptions = [
103
+ options.key,
104
+ options.value,
105
+ options.secretPath,
106
+ ];
107
+ const hasPartialSingleSecretOptions = singleSecretOptions.some((option) => option !== undefined) &&
108
+ !singleSecretOptions.every((option) => Boolean(option));
109
+ if (hasPartialSingleSecretOptions) {
110
+ throw new InvalidArgumentError('Single-secret push requires non-empty --key, --value, and --secret-path.');
111
+ }
112
+ const mode = DispatchActionCommand.determineOperationMode(options);
113
+ const isPushSingle = mode === OperationMode.PUSH_SINGLE;
114
+ const resolvedMap = resolveMapFile(options.map, {
115
+ required: !isPushSingle,
116
+ });
117
+ const resolvedEnvfile = resolveEnvfile(options.envfile);
118
+ const resolvedOptions = Object.assign(Object.assign({}, options), { map: resolvedMap, envfile: resolvedEnvfile });
119
+ const fileConfig = resolvedMap
120
+ ? yield readMapFileConfig(resolvedMap)
96
121
  : {};
97
122
  const config = Object.assign(Object.assign(Object.assign(Object.assign({}, fileConfig), (provider && { provider })), (vaultUrl && { vaultUrl })), (options.profile && { profile: options.profile }));
98
123
  const infraOptions = {};
@@ -107,11 +132,49 @@ export function main() {
107
132
  .configureServices()
108
133
  .configureInfrastructure(config, infraOptions)
109
134
  .create();
110
- yield executeWithSsoRecovery(() => executeCommand(options));
135
+ if (isPushSingle) {
136
+ const logger = serviceProvider.get(TYPES.ILogger);
137
+ const providerName = ((_b = config.provider) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || 'aws';
138
+ const vaultInfo = providerName === 'azure' && config.vaultUrl
139
+ ? `, vault=${new URL(config.vaultUrl).origin}`
140
+ : '';
141
+ const source = resolvedMap
142
+ ? `configuration from ${resolvedMap}`
143
+ : 'configuration';
144
+ logger.info(`Using ${source}: provider=${providerName}${vaultInfo}`);
145
+ }
146
+ yield executeWithSsoRecovery(() => executeCommand(resolvedOptions));
111
147
  }));
112
148
  yield program.parseAsync(process.argv);
113
149
  });
114
150
  }
151
+ function resolveMapFile(mapOption, options = { required: true }) {
152
+ if (mapOption !== undefined) {
153
+ const trimmed = mapOption.trim();
154
+ if (trimmed.length === 0) {
155
+ throw new InvalidArgumentError('Invalid --map value: path must not be empty.');
156
+ }
157
+ return trimmed;
158
+ }
159
+ const defaultPath = join(process.cwd(), DEFAULT_MAP_FILE);
160
+ if (existsSync(defaultPath)) {
161
+ return DEFAULT_MAP_FILE;
162
+ }
163
+ if (!options.required) {
164
+ return undefined;
165
+ }
166
+ throw new InvalidArgumentError(`No map file found. Provide --map or create ${DEFAULT_MAP_FILE} in the current directory.`);
167
+ }
168
+ function resolveEnvfile(envfileOption) {
169
+ if (envfileOption === undefined) {
170
+ return DEFAULT_ENV_FILE;
171
+ }
172
+ const trimmed = envfileOption.trim();
173
+ if (trimmed.length === 0) {
174
+ throw new InvalidArgumentError('Invalid --envfile value: path must not be empty.');
175
+ }
176
+ return trimmed;
177
+ }
115
178
  function readPackageVersion() {
116
179
  const __filename = fileURLToPath(import.meta.url);
117
180
  const __dirname = dirname(__filename);
@@ -1 +1 @@
1
- {"version":3,"file":"Cli.js","sourceRoot":"","sources":["../../../../../src/envilder/apps/cli/entry/Cli.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6DAA6D,CAAC;AAIpG,OAAO,EAAE,oBAAoB,EAAE,MA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oBAAoB,CAC5B,kDAAkD,CACnD,CAAC;IACJ,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,kBAAkB;IACzB,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;IAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACtC,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,EAAE,6BAA6B,CAAC,CAAC;IAEvE,OAAO,IAAI,oBAAoB,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;AAChE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SilentExitError.d.ts","sourceRoot":"","sources":["../../../../../src/envilder/apps/cli/errors/SilentExitError.ts"],"names":[],"mappings":"AAAA,qBAAa,eAAgB,SAAQ,KAAK;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM;gBAAZ,IAAI,EAAE,MAAM;CAGlC"}
1
+ {"version":3,"file":"SilentExitError.d.ts","sourceRoot":"","sources":["../../../../../src/envilder/apps/cli/errors/SilentExitError.ts"],"names":[],"mappings":"AAAA,qBAAa,eAAgB,SAAQ,KAAK;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM;IAAjC,YAAqB,IAAI,EAAE,MAAM,EAEhC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"SilentExitError.js","sourceRoot":"","sources":["../../../../../src/envilder/apps/cli/errors/SilentExitError.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACxC,YAAqB,IAAY;QAC/B,KAAK,CAAC,aAAa,CAAC,CAAC;QADF,SAAI,GAAJ,IAAI,CAAQ;IAEjC,CAAC;CACF"}
1
+ {"version":3,"file":"SilentExitError.js","sourceRoot":"","sources":["../../../../../src/envilder/apps/cli/errors/SilentExitError.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACxC,YAAqB,IAAY;QAC/B,KA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WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,qCAAqC,CAAC;AAE7C,qBAAa,OAAO;IAClB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;;IAMtC,MAAM,CAAC,KAAK,IAAI,OAAO;IAIvB,iBAAiB,IAAI,IAAI;IAKzB,uBAAuB,CACrB,MAAM,CAAC,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI;IAKP,MAAM,IAAI,SAAS;IAInB,kBAAkB,IAAI,SAAS;CAGhC"}
1
+ {"version":3,"file":"Startup.d.ts","sourceRoot":"","sources":["../../../../src/envilder/apps/gha/Startup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAIxE,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,qCAAqC,CAAC;AAE7C,qBAAa,OAAO;IAClB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IAEtC,cAEC;IAED,MAAM,CAAC,KAAK,IAAI,OAAO,CAEtB;IAED,iBAAiB,IAAI,IAAI,CAGxB;IAED,uBAAuB,CACrB,MAAM,CAAC,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI,CASN;IAED,MAAM,IAAI,SAAS,CAElB;IAED,kBAAkB,IAAI,SAAS,CAE9B;CACF"}
@@ -1,4 +1,6 @@
1
1
  import { Container } from 'inversify';
2
+ import { GitHubActionsSecretMasker } from '../../core/infrastructure/github/GitHubActionsSecretMasker.js';
3
+ import { TYPES } from '../../core/types.js';
2
4
  import { configureApplicationServices, configureInfrastructureServices, } from '../shared/ContainerConfiguration.js';
3
5
  export class Startup {
4
6
  constructor() {
@@ -12,6 +14,12 @@ export class Startup {
12
14
  return this;
13
15
  }
14
16
  configureInfrastructure(config, options) {
17
+ if (!this.container.isBound(TYPES.ISecretMasker)) {
18
+ this.container
19
+ .bind(TYPES.ISecretMasker)
20
+ .to(GitHubActionsSecretMasker)
21
+ .inSingletonScope();
22
+ }
15
23
  configureInfrastructureServices(this.container, config, options);
16
24
  return this;
17
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Startup.js","sourceRoot":"","sources":["../../../../src/envilder/apps/gha/Startup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,GAEhC,MAAM,qCAAqC,CAAC;AAE7C,MAAM,OAAO,OAAO;IAGlB;QACE,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO,IAAI,OAAO,EAAE,CAAC;IACvB,CAAC;IAED,iBAAiB;QACf,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,uBAAuB,CACrB,MAAsB,EACtB,OAA+B;QAE/B,+BAA+B,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QACjE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;CACF"}
1
+ {"version":3,"file":"Startup.js","sourceRoot":"","sources":["../../../../src/envilder/apps/gha/Startup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAC1G,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,GAEhC,MAAM,qCAAqC,CAAC;AAE7C,MAAM,OAAO,OAAO;IAGlB;QACE,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO,IAAI,OAAO,EAAE,CAAC;IACvB,CAAC;IAED,iBAAiB;QACf,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,uBAAuB,CACrB,MAAsB,EACtB,OAA+B;QAE/B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC;YACjD,IAAI,CAAC,SAAS;iBACX,IAAI,CAAgB,KAAK,CAAC,aAAa,CAAC;iBACxC,EAAE,CAAC,yBAAyB,CAAC;iBAC7B,gBAAgB,EAAE,CAAC;QACxB,CAAC;QACD,+BAA+B,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QACjE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/envilder/apps/shared/ContainerConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAO3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAKxE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+DAA+D,CAAC;AAKvE,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;AAazD,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,SAAS,EACpB,MAAM,GAAE,aAAkB,EAC1B,OAAO,GAAE,qBAA0B,GAClC,IAAI,CAqCN;AAED,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAoBvE"}
1
+ {"version":3,"file":"ContainerConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/envilder/apps/shared/ContainerConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAO3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAMxE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+DAA+D,CAAC;AAMvE,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;AAazD,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,SAAS,EACpB,MAAM,GAAE,aAAkB,EAC1B,OAAO,GAAE,qBAA0B,GAClC,IAAI,CA4CN;AAED,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAoBvE"}
@@ -5,6 +5,7 @@ import { PushSingleCommandHandler } from '../../core/application/pushSingle/Push
5
5
  import { InvalidArgumentError } from '../../core/domain/errors/DomainErrors.js';
6
6
  import { createAwsSecretProvider } from '../../core/infrastructure/aws/AwsSecretProviderFactory.js';
7
7
  import { createAzureSecretProvider, } from '../../core/infrastructure/azure/AzureSecretProviderFactory.js';
8
+ import { NoOpSecretMasker } from '../../core/infrastructure/github/NoOpSecretMasker.js';
8
9
  import { ConsoleLogger } from '../../core/infrastructure/logger/ConsoleLogger.js';
9
10
  import { FileVariableStore } from '../../core/infrastructure/variableStore/FileVariableStore.js';
10
11
  import { TYPES } from '../../core/types.js';
@@ -24,6 +25,12 @@ export function configureInfrastructureServices(container, config = {}, options
24
25
  .to(FileVariableStore)
25
26
  .inSingletonScope();
26
27
  }
28
+ if (!container.isBound(TYPES.ISecretMasker)) {
29
+ container
30
+ .bind(TYPES.ISecretMasker)
31
+ .to(NoOpSecretMasker)
32
+ .inSingletonScope();
33
+ }
27
34
  const selectedProvider = ((_a = config.provider) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || 'aws';
28
35
  if (config.profile && selectedProvider !== 'aws') {
29
36
  logger.warn(`--profile is only supported with the aws provider` +