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 = 3Highest 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 = 0Field is not encrypted at all.
TenantScoped = 2Key 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 = 1Key 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.