Skip to content

feat(secrets): file and env backed providers#426

Open
FrankSpitulski wants to merge 1 commit intoNVIDIA:mainfrom
FrankSpitulski:feat/secrets/file-provider
Open

feat(secrets): file and env backed providers#426
FrankSpitulski wants to merge 1 commit intoNVIDIA:mainfrom
FrankSpitulski:feat/secrets/file-provider

Conversation

@FrankSpitulski
Copy link
Contributor

@FrankSpitulski FrankSpitulski commented Mar 3, 2026

Description

add in support for env and file backed secret reading. intended to be used with k8s/vault agent file secrets.

splits the vault provider into a reader and writer trait, using each trait where needed. on the read path, a chained reader is used allowing site wide secrets to be provided statically. if not provided still fall back to vault.

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

bringing some attention to the env config loading. I kept the same pattern as was there before with vault configs to load from env on access. it seems like we should be loading from the regular config flow though.

Closes #357 FORGE-7854

@FrankSpitulski FrankSpitulski requested a review from a team as a code owner March 3, 2026 03:49
@FrankSpitulski FrankSpitulski force-pushed the feat/secrets/file-provider branch from d290b72 to cc4d3a8 Compare March 3, 2026 03:54
@FrankSpitulski FrankSpitulski force-pushed the feat/secrets/file-provider branch from cc4d3a8 to cb5d545 Compare March 3, 2026 20:15
Closes NVIDIA#357 FORGE-7854

Signed-off-by: fspitulski <fspitulski@nvidia.com>
@FrankSpitulski FrankSpitulski force-pushed the feat/secrets/file-provider branch from cb5d545 to 01d456f Compare March 3, 2026 21:07
@FrankSpitulski
Copy link
Contributor Author

@kensimon rebased due to merge conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move operator provided passwords from API into config files or env vars

2 participants