Azure Blob Storage
You can add your existing Azure Blob storage as a datasource in PixelBin. This allows you to use PixelBin's real-time file delivery and transformation features on all existing files stored in the drive.
The following tutorial will help you create a Shared Access Signature (SAS) token that will allow PixelBin to access the files in your Azure storage container.
Setting up Azure Blob Storage
In case you find the following instructions invalid/outdated, you can refer to Azure's official, albeit more verbose instructions on these pages.
Generate a Shared Access Signature (SAS) Token
- Sign in to your Azure Account through the Azure portal.
- Select Storage Accounts.
- Select the corresponding storage account.
- Search for the Shared Access Signature setting in the settings pane on the left.
- Now, select the options as follows:
- Select Blob in Allowed services.
- Select Container and Object in Allowed resource types.
- Select Read and List in Allowed permissions.
- Enter an End expiry time that is practically infinite. Preferably, enter a time 10 years from the start time (which should be right now).
- Click on "Generate SAS and connection string".
- Note down the SAS token generated.
This method generates an account-level Shared Access Signature. To generate a service SAS or a user-delegated SAS, visit the official Azure documentation pages here.
We have now created a SAS token for PixelBin and granted it read permission for your container.
- After entering basic details for the datasource, choose Azure Cloud Storage from the set of datasource types.
- Enter the name of your storage account.
- Enter the name of the container you want to integrate.
- Enter the SAS token.
- Click Save.
We do not start copying files from your storage as soon as you add the datasource. Instead, we will fetch the particular file when you request it through the PixelBin URL endpoint. The files accessed from this origin will not appear in your Storage library.