using Microsoft.Extensions.Configuration;
using ZB.MOM.WW.Secrets.Replicator.SqlServer;
namespace ZB.MOM.WW.Secrets.Cli.Interactive;
/// A resolved deployment store target: the app's composed Secrets options + where they came from.
/// Display name (defaults to the appsettings parent directory name).
/// The base appsettings.json path, or for manual-entry targets.
/// The bound application secrets options, with already made absolute.
/// The bound SQL-Server hub options when a Secrets:SqlServer section is present; otherwise .
/// The full composed configuration, consumed later by the reference auditor.
public sealed record StoreTarget(
string Name,
string? AppSettingsPath,
SecretsOptions Secrets,
SqlServerSecretsOptions? SqlServer,
IConfigurationRoot Configuration);