Skip to content

Admin Page to Track Encrypted Fields Using Legacy Keys #91

@williaby

Description

@williaby

Feature: Admin Page to Track Encrypted Fields Using Legacy Keys

Summary:
Build an admin dashboard route to inspect and flag database records still using secondary (legacy) encryption keys.

Motivation:
After rotating to new encryption keys, it's important to identify which records still rely on older keys so they can be prioritized for re-encryption or alerting.

Scope:

  • Add a utility to track which records decrypt using secondary keys
  • Create a page accessible to authenticated admin users
  • Include filters, summary stats, and optional export to CSV

Future Enhancements:

  • Inline re-encryption from the admin UI
  • Audit trail of encryption key history

Related: scripts/keyrotate.py CLI already supports programmatic rotation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions