chore(secrets): wire cache invalidation on rotate/delete, drop dead RevealEnabled, remove scaffold leftovers

This commit is contained in:
Joseph Doherty
2026-07-15 17:39:55 -04:00
parent 294f53b49a
commit e20812cbae
10 changed files with 74 additions and 29 deletions
@@ -0,0 +1,8 @@
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);
}