You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/guide/storage.md
+1-26Lines changed: 1 addition & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1201,34 +1201,9 @@ Service Principal authentication is a secure method that uses Azure AD identity
1201
1201
4. Grant Storage access: Storage Account → Access control (IAM) → Add role assignment → Storage Blob Data Contributor → assign to the App Registration.
1202
1202
5. Create a container: Data storage → Containers → + Container → set Public access level = Private.
1203
1203
1204
-
!!! warning
1204
+
!!! warning
1205
1205
If you plan to use pre-signed URLs, configure CORS on the Storage Account Blob service: methods GET/HEAD/OPTIONS; allowed origins = your Label Studio domain(s); headers = *; exposed headers = *; max age ≈ 3600.
1206
1206
1207
-
#### Set up import storage in the Label Studio UI
1208
-
1209
-
1. Open your project → **Settings > Cloud Storage** → **Add Source Storage** → select**Azure Blob Storage with Service Principal**.
1210
-
2. Fill the fields exactly as labeled in the UI (matches backend schema):
1211
-
- **Integration Name**: Display name for this connection.
1212
-
- **Storage Name**: Azure Storage Account name (not a URL).
1213
-
- **Container Name** and optional **Container Prefix**.
1214
-
- **Tenant ID**, **Client ID**, **Client Secret**: values from the App Registration.
1215
-
- Optional: **File Filter Regex** to include specific objects.
1216
-
- Import mode: toggle **Treat every items object as an image/src file**
1217
-
- ON = Files (create a task per blob)
1218
-
- OFF = Tasks (JSON/JSONL/Parquet task definitions)
1219
-
- **Use pre-signed URLs** (ON) or proxy (OFF), and **Expiration minutes**.
1220
-
3. Click **Add Storage**, then**Sync** (or use the API) to load tasks.
1221
-
1222
-
UI fields reference
1223
-
1224
-
Navigate to your Azure Storage Account:
1225
-
- Go to **Access control (IAM)**
1226
-
- Click **Add > Add role assignment**
1227
-
- Select the **Storage Blob Data Contributor** role
1228
-
- In the **Members** tab, select**User, group, or service principal**
1229
-
- Search for and selectyour App Registration
1230
-
- Click **Review + assign**
1231
-
1232
1207
#### Set up connection in the Label Studio UI
1233
1208
1234
1209
In the Label Studio UI, do the following to set up the connection:
0 commit comments