mirror of
https://github.com/MAKS-IT-COM/maksit-certs-ui.git
synced 2026-05-16 04:48:12 +02:00
21 lines
838 B
C#
21 lines
838 B
C#
namespace MaksIT.CertsUI.Engine;
|
|
|
|
/// <summary>
|
|
/// Engine-level configuration: PostgreSQL connection string, optional add-only schema sync, and ACME directory URLs (single options object, same layering as other MaksIT engines).
|
|
/// </summary>
|
|
public interface ICertsEngineConfiguration {
|
|
string ConnectionString { get; }
|
|
|
|
/// <summary>
|
|
/// When true (recommended), run add-only schema sync after FluentMigrator on each startup: <c>ALTER TABLE … ADD COLUMN IF NOT EXISTS</c> only,
|
|
/// never DROP. Disable only if you manage DDL exclusively elsewhere.
|
|
/// </summary>
|
|
bool AutoSyncSchema { get; }
|
|
|
|
/// <summary>Let's Encrypt production ACME directory URL (RFC 8555).</summary>
|
|
string LetsEncryptProduction { get; }
|
|
|
|
/// <summary>Let's Encrypt staging ACME directory URL.</summary>
|
|
string LetsEncryptStaging { get; }
|
|
}
|