Sowmiya Anand
05/14/2024, 4:27 PMMarvin
05/14/2024, 4:28 PMprefect-azure
library and register the blocks in Prefect-Azure using prefect block register -m prefect_azure
.
Here's a guide for moving data with Prefect, which also mentions creating a credentials block: Configuring Data Movement.
Although the provided documents do not explicitly cover Azure secrets blocks, the usual approach to handling credentials in Prefect will involve storing configuration details in a block which can then be referenced when needed.
Overall, you will firstly want to make sure that the appropriate Prefect extensions for Azure are installed and registered. You can then create a secret block in Prefect using the UI or code, and reference the block in your flows or tasks for Azure operations. Make sure you do not publicly expose sensitive credential values.