Closed xerial closed 8 years ago
Or we need to add a documentation on how to embed apikey from a command line: digdag run -p apikey=$TD_API_KEY
you can use !include : config/td.yml
to load another file.
I don't wan't to recommend environment variables because it's environment-specific (which means that the workflow may not be reproducible on another machine). To make server-side hosting easy, configuration should be static or explicit.
We would like to avoid embedding td-api-key in the digdag yml file.
How about making apikey parameter optional for td executor? Even if API key is not given, td-client-java can read TD_API_KEY or .td/td.conf file.