Skip to content

Commit f51805d

Browse files
authored
docs: Fixes for storage.md and azure spi (#8123)
1 parent 63ef003 commit f51805d

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

docs/source/guide/storage.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,34 +1201,9 @@ Service Principal authentication is a secure method that uses Azure AD identity
12011201
4. Grant Storage access: Storage Account → Access control (IAM) → Add role assignment → Storage Blob Data Contributor → assign to the App Registration.
12021202
5. Create a container: Data storage → Containers → + Container → set Public access level = Private.
12031203

1204-
!!! warning
1204+
!!! warning
12051205
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.
12061206

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 select your App Registration
1230-
- Click **Review + assign**
1231-
12321207
#### Set up connection in the Label Studio UI
12331208

12341209
In the Label Studio UI, do the following to set up the connection:

0 commit comments

Comments
 (0)