One too many @'s before managed_keys_directory in the template.