A little while back there was some discussion on incorporating Nextflow secrets into nf-core modules. I've had a go at doing this in the mitohifi/findmitoreference module, but I'm not sure if this is the best way to incorporate an optional secret. If anyone has any input it would be much appreciated!
https://github.com/nf-core/modules/pull/8836