Files
scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/ISecretCacheInvalidator.cs
T

9 lines
357 B
C#

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);
}