- π³π±Netherlands koosvdkolk
For me the GUI was still puzzling.
Previously I created a key with 'Configuration' as 'Key provider' and I had to enter a 'Key value' and the whole thing was stored in the database. For my current use case I wanted to use the 'File' key provider option, and I expected the module to behave the same.
- I press the 'Add key' button on admin/config/system/keys
- The form header says 'Add key'
- I select 'File' under 'Key provider' and fill out a path.
- As I am adding I key, my expectation is: The module will create a key file for me at 'File location' and store a key there.
- Upon saving, I receive a message that the file does not exist. Maybe a permission thing?
- I manually add an empty .key file at the location and re-save the form.
- I get a green message saying that I was successful
- In a (rare) moment of clarity, I decide to inspect the key file and find it to be... empty.
- I start Googling and end up here.
Suggestion for improvement:
- Change "The location of the file in which the key will be stored." ('File location' field description') into something like "The location of the key file. For more information on generating a key file, see https://www.drupal.org/project/key β "