FieldEncryptionPolicy

data class FieldEncryptionPolicy(val enabled: Boolean = false, val encryptedFields: Map<String, Set<String>> = emptyMap(), val defaultEncryptedFields: Set<String> = emptySet())

Policy controlling field-level encryption within event payloads.

Since

0.5.0

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false, encryptedFields: Map<String, Set<String>> = emptyMap(), defaultEncryptedFields: Set<String> = emptySet())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Field paths to encrypt for all event types.

Link copied to clipboard

Whether field-level encryption is active.

Link copied to clipboard

Map of event type to set of JSON field paths to encrypt.

Functions

Link copied to clipboard

Get the set of fields to encrypt for a given event type.