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
### Assign RBAC Roles to the de-identification service
40
+
41
+
We need to assign a role to our de-identification service so we have permissions to perform the actions in this quickstart.
42
+
43
+
Since we're using real-time and job endpoints, we assign the `DeID Data Owner` roles.
44
+
45
+
To learn how to assign this role to your de-identification service, refer to: [Manage access to the de-identification service with Azure role-based access control (RBAC) in Azure Health Data Services](manage-access-rbac.md)
@@ -141,16 +148,16 @@ To create the job, we need the URL to the blob endpoint of the Azure Storage Acc
141
148
az resource show -n $STORAGE_ACCOUNT_NAME -g $RESOURCE_GROUP_NAME --resource-type Microsoft.Storage/storageAccounts --query properties.primaryEndpoints.blob --output tsv
142
149
```
143
150
144
-
Now we can create the job. This example uses `folder1/` as the prefix. The job will de-identify any document that matches this prefix and write the de-identified version with the `output_files/` prefix.
151
+
Now we can create the job. This example uses `folder1/` as the prefix. The job de-identifies any document that matches this prefix and write the de-identified version with the `output_files/` prefix.
145
152
146
153
```csharp
147
154
using Azure;
148
155
149
-
Uri storageAccountUri = new("");
156
+
Uri storageAccountContainerUri = new("https://exampleStorageAccount.blob.core.windows.net/containerName");
150
157
151
158
DeidentificationJob job = new(
152
-
new SourceStorageLocation(new Uri(storageAccountUrl), "folder1/"),
153
-
new TargetStorageLocation(new Uri(storageAccountUrl), "output_files/")
159
+
new SourceStorageLocation(storageAccountContainerUri, "folder1/"),
160
+
new TargetStorageLocation(storageAccountContainerUri, "output_files/")
0 commit comments