Skip to main content
Table of Contents

Enum DataSensitivityLevel

Namespace
Stratara.Abstractions.Security
Assembly
Stratara.Abstractions.dll

Sensitivity tier for fields protected by EncryptDataAttribute. Controls key scoping in IKeyStore.

public enum DataSensitivityLevel
Extension Methods

Fields

Confidential = 3

Highest sensitivity, claiming no per-subject isolation. Written with an empty tenant, it uses one system-wide key that no erasure shreds; written for a tenant, it uses a key of that tenant, shredded by the tenant's erasure.

None = 0

Field is not encrypted at all.

TenantScoped = 2

Key is scoped to the tenant, together with the data owner's user where one is set. Shredded by the tenant's erasure; a user's erasure leaves it.

UserScoped = 1

Key is scoped to the data owner's user within its tenant, or to the tenant alone when no user is set. Shredded by the user's erasure and by the tenant's.