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.
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.