namespace ZB.MOM.WW.Secrets.Abstractions;

/// <summary>Evicts a cached decrypted secret so the next resolve re-reads it. Called by write paths after a rotate/delete.</summary>
public interface ISecretCacheInvalidator
{
    /// <summary>Evicts the cache entry for <paramref name="name"/> (no-op if absent).</summary>
    void Invalidate(SecretName name);
}
