Skip to content

Instantly share code, notes, and snippets.

@mmenavas
Last active May 23, 2017 20:35
Show Gist options
  • Save mmenavas/3f4e661a3d267121a8ab5b7bed1eb82d to your computer and use it in GitHub Desktop.
Save mmenavas/3f4e661a3d267121a8ab5b7bed1eb82d to your computer and use it in GitHub Desktop.
Get hash salt from Drupal 8 site in Pantheon using terminus
<?php
$databases['default']['default'] = array (
'database' => '',
'username' => '',
'password' => '',
'host' => 'localhost',
'port' => '3306',
'driver' => 'mysql',
'prefix' => '',
);
// Figure out what your site's hash is by running
// terminus drush d8rtd.dev -- ev 'return getenv("DRUPAL_HASH_SALT")'
$settings['hash_salt'] = 'y-o-u-r--s-i-t-e-s--h-a-s-h--s-a-l-t'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment