Overview The purpose of this script is to download a file from Azure Blob Storage using the secret key vault credentials and separate the file data into multiple CSV files based on their headers.
Prerequisites
- Azure Blob Storage account
- Secret key vault credentials
Instructions
- Set up the necessary environment configuration for the Azure Blob Storage account and secret key vault credentials.
- Install the Azure Blob Storage Python library.
- Use the Azure Blob Storage Python library to download the file with the secret key vault credentials.
- Open the file and read the data.
- Upload the separated CSVs back to Azure Blob Storage.
Usage
- Set up the environment configuration variables for Azure Blob Storage and the secret key vault credentials.
- Run the script to download the file and separate the data into multiple CSV files.
- upload the separated CSV files back to Azure Blob Storage.