Is there a way to list permissions for a given module?
You could use drush cim and create a yml for your role like for example

langcode: en
status: true
dependencies: {  }
id: myrole
label: 'My super Role'
weight: 1
is_admin: false
permissions: 
  - 'whatever 1'
  - 'whatever 2'


And if you don't know what perms your module brings, you could use that simple eval code with drush:

drush php-eval '$p = Drupal::service("user.permissions")-&gt;getPermissions(); foreach ($p as $k =&gt; $x) print $k." : ".$x["provider"]."\n";'