Should update the docstring to reflect that `key_material` is not a file, but the actual key content.