Configure Azure Blob Storage
User
Configure Azure Blob Storage
Configure Azure Blob Storage for your downloads
POST
Configure Azure Blob Storage
Overview
Set up Azure Blob Storage for uploaded videos. Authenticate with either an account key or a SAS token. Credentials are verified before saving.Header Parameters
Your API key for authentication
Request Body
Azure Storage Account name
Blob container name
Storage Account access key (Base64 encoded). Required if
sas_token is not provided.SAS token for authentication. Required if
account_key is not provided.Optional folder prefix for organizing uploads (e.g.,
downloads/2024/)Base folder name for uploaded files. Defaults to
videos if not specified. Set to a custom value to change the top-level folder where files are stored (e.g., downloads, media).Response
Success confirmation message
Storage provider type:
blobThe configured container name
The configured folder prefix (if provided)
Examples
Success Response
Error Responses
Verification Process
When you submit storage configuration, Tornado:- Validates that either
account_keyorsas_tokenis provided - Creates a storage client with your credentials
- Attempts to upload a small test file (
verify_credentials.txt) - Deletes the test file
- If successful, saves the configuration encrypted
Required SAS Permissions
When using a SAS token, ensure these permissions are enabled:- Read (r) - For generating download URLs
- Write (w) - For uploading files
- Delete (d) - For cleanup operations
- List (l) - For validation
