Passing Parameters from ADF to ML Designer Pipeline
I have created an ML pipeline using Azure ML Designer, which includes an Execute Python Script component. This component is linked to a script bundle that processes a blob from Azure Blob Storage and saves the output back to the storage.
The ML pipeline is triggered using an Azure Data Factory (ADF) pipeline, and we are planning to move it to a production environment. Currently, details such as the container name, connection string, and credentials are hardcoded in the script, but I want to dynamically pass these values from ADF to the ML pipeline.
My Questions:
- How can I define parameters in ML Designer and pass them from ADF?
- What is the best way to access these parameters inside the Python script in the Execute Python Script component?
- Are there any best practices for securely passing connection strings and credentials (e.g., via Azure Key Vault or Linked Services)?
Would appreciate any guidance or best practices on achieving this. Thanks in advance!