Skip to content

Can no longer load SecretsProviders from plugins #5494

@tom-seqera

Description

@tom-seqera

Bug report

SecretsProviders can no longer be loaded from nextflow plugins

In 23.10, running Nextflow with a plugin which contains a custom SecretsProvider would be able to use the provider from the plugin. Since 24.04, the LocalSecretsProvider is always used, even if a plugin provides a custom implementation with a higher @Priority.

This seems to be because SecretsLoader.secretContext() is called by the ConfigBuilder during reading of the nextflow config. This happens before plugins have been loaded, so it will only find the LocalSecretsProvider and not any providers from the plugin(s).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions