Table of Contents

Interface IRedactionService

Namespace
Oscova.Agents.Secrets
Assembly
Oscova.Agents.dll

Masks secrets before transcripts, tool arguments, or run artifacts leave the execution boundary.

public interface IRedactionService

Methods

RedactArgumentsAsync(IDictionary<string, object?>, string?, CancellationToken)

Returns a key-name and credential-value redacted copy of tool-call arguments.

RedactMessagesAsync(IReadOnlyList<ChatMessage>, string?, CancellationToken)

Returns redacted copies of chat messages without mutating the input messages.

RedactTextAsync(string, string?, CancellationToken)

Masks the user's stored secret values when user-scoped credentials are available.