AshVault.Scopes.Global (AshVault v0.2.0)

Copy Markdown View Source

A constant encryption scope, "global", for applications that are not multitenant.

Every encrypted field in the application shares one key lineage, which means rotation and destruction are also application-wide. Use AshVault.Scopes.AshTenant if you need per-tenant crypto-erasure.

Summary

Functions

Always resolves to "global".

Functions

resolve!(context)

@spec resolve!(AshVault.Context.t()) :: binary()

Always resolves to "global".