// PRE-GENERATED (design session). Contract for encrypted secret storage (API keys).
namespace DansoriEQ.Core.Security;

/// <summary>Stores/retrieves secrets encrypted at rest. Implementation must NOT store plaintext.</summary>
public interface ISecretStore
{
    bool Has(string key);
    void Save(string key, string secret);   // encrypts + persists
    string? Load(string key);                // decrypts (used by the AI client, not the UI)
    void Delete(string key);
}
