Skip to content

E25 Phase 4: Program.cs conditional DI routing validation for secret modes #265

@holgerimbery

Description

@holgerimbery

Context\nSecret handling now spans Database and Single-Vault in core, and Multi-Vault in enterprise.\n\n## Goal\nVerify and harden Program.cs / service-registration routing paths so each runtime mode resolves the intended secret service deterministically.\n\n## Scope\n- Validate core host registrations route correctly for Database and Single-Vault modes.\n- Ensure no enterprise-specific routing leaks into core behavior.\n- Add verification checklist and smoke-test evidence for mode switching.\n\n## Acceptance Criteria\n- Core mode resolves DatabaseSecretService when UseKeyVaultForSecrets=false.\n- Core mode resolves AzureKeyVaultSecretService when UseKeyVaultForSecrets=true and KeyVaultUri is configured.\n- Misconfiguration fails safe with clear diagnostics.\n- Enterprise/multi-vault behavior remains isolated from core defaults.\n

Metadata

Metadata

Assignees

Labels

epic:E25Container deployment safety and Key Vault refactoringpriority:mediumImportant but not urgent

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions