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
https://www.nextflow.io/docs/latest/secrets.html
We'll create the secrets on the cluster using,
api_key = os.getenv(secret_name)