Securing Drupal Data: Migrating from Lockr to Pantheon Secrets
With Lockr announcing its shutdown on November 30, website administrators need to act swiftly to secure their encrypted data. This article provides a detailed guide on migrating encryption keys from Lockr to Pantheon Secrets, a timely alternative for key management.
For a client, Ohio Legal Help, a Drupal website, encrypted webform data using the Lockr service. To prevent data loss, the Lockr integration was replaced with Pantheon Secrets using Pantheon’s Terminus CLI, Secrets Manager Plugin, and the Pantheon Secrets module for Drupal. The article outlines the key extraction process, setting environment-specific keys, and syncing them using Pantheon’s tools.
Finally, the steps include testing to ensure data remains accessible with the new keys, while offering additional tips for local development environments using Lando and protecting sensitive key information.