Security

Automated Drupal hash salt

By Nick Schuch10th October 2024

Overview

In Drupal, a hash salt is a security feature used to enhance the hashing of one-time login links, cancel links, form tokens, etc.

To manage this, development teams have succeeded by integrating with our Skpr Configuration System and setting these hash salt values on a per-environment basis using our command line interface (CLI).

The Skpr platform team saw an opportunity to streamline this solution and is proud to announce that these hash salt values are now automatically set out-of-the-box for all environments by the platform.

Image of a keyboard and set of keys buried in a pile of salt

Key benefits

  • Easy to setup - Integrated into the Skpr Configuration System
  • Less for developers to manage - Automatically managed by the platform
  • Enhanced security - Stored outside of the document root

How to use Drupal hash salt

Developers can seamlessly integrate our hash salts into their applications using the Skpr configuration system.

Below is a snippet demonstrating how easy it is to integrate by updating Drupal's settings.php configuration.

$settings['hash_salt'] = $skpr->get('drupal.hash_salt');

Conclusion

Automated hash salts is another example of Skpr's investment in developer productivity and security.

If you have any questions or a security feature you would like to see added to Skpr, please contact the Skpr team.

Tags

announcement
drupal
security

Getting Started

Interested in a demo?

🎉 Awesome!

Please check your inbox for a confirmation email. It might take a minute or so.

🤔 Whoops!

Something went wrong. Check that you have entered a valid email and try submitting the form again.

We'll be in touch shortly.