Guides
Adding Environment Variable
Environment can be added in both Python task and Container task, so when you define the python task config or container task config, we can give the env as follows:
- Python task config: you can pass the environment variables in the config by using env argument which takes dict as input, where key and value both are strings.
- Container task config: The container task config also takes env as input argument, similar to python task config , where you can pass the env variable in key value pair as dict.
Using secrets as an environment variable
you can also pass the secret as an env variable in a workflow. To use a secret, instead of passing the value of env, you can pass the secret FQN of the secret in place of value.