fix(secrets): honor env-supplied LDAP bind password in live LDAP integration suite; clarify pre-host migration
This commit is contained in:
@@ -82,6 +82,9 @@ public static class GatewayApplication
|
||||
.BuildServiceProvider())
|
||||
#pragma warning restore ASP0000
|
||||
{
|
||||
// Intentionally unconditional: the pre-host expander below needs the secrets
|
||||
// store schema to exist before the first ${secret:} resolve. Secrets:RunMigrationsOnStartup
|
||||
// governs only the runtime SecretsMigrationHostedService, not this bootstrap path.
|
||||
secretsProvider.GetRequiredService<SqliteSecretsStoreMigrator>()
|
||||
.MigrateAsync(default).GetAwaiter().GetResult();
|
||||
var resolver = secretsProvider.GetRequiredService<ISecretResolver>();
|
||||
|
||||
Reference in New Issue
Block a user