Skip to content

Nextflow secrets #30

@genericdata

Description

@genericdata

https://www.nextflow.io/docs/latest/secrets.html

We'll create the secrets on the cluster using,

# create a new secret
nextflow secrets set tw_api_key "abcd123"

# list all secrets
nextflow secrets list

# get the value of secret FOO
nextflow secrets get tw_api_key

# delete the secret FOO
nextflow secrets delete tw_api_key
  • Add the instructions to the README
  • Rename/update/remove config.py.template
  • Update the python scripts to use the secret, api_key = os.getenv(secret_name)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions