Skip to content

Commit bbc989d

Browse files
committed
Revert changes
1 parent 0be6a76 commit bbc989d

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

articles/data-factory/quickstart-create-data-factory-dot-net.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,10 @@ Creating linked service AzureStorageLinkedService...
328328
"properties": {
329329
"type": "AzureStorage",
330330
"typeProperties": {
331-
"connectionString": "DefaultEndpointsProtocol=https;AccountName=<storageAccountName>;AccountKey=<storageAccountKey>"
331+
"connectionString": {
332+
"value": "DefaultEndpointsProtocol=https;AccountName=<storageAccountName>;AccountKey=<storageAccountKey>",
333+
"type": "SecureString"
334+
}
332335
}
333336
}
334337
}

articles/data-factory/transform-data-using-dotnet-custom-activity.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,11 @@ This sample shows how you can use the referenceObjects and extendedProperties to
169169
"type": "LinkedServiceReference"
170170
}]
171171
},
172-
"extendedProperties": {
173-
"connectionString": "aSampleSecureString",
172+
"extendedProperties": {
173+
"connectionString": {
174+
"type": "SecureString",
175+
"value": "aSampleSecureString"
176+
},
174177
"PropertyBagPropertyName1": "PropertyBagValue1",
175178
"propertyBagPropertyName2": "PropertyBagValue2",
176179
"dateTime1": "2015-04-12T12:13:14Z"
@@ -305,7 +308,10 @@ Sensitive property values designated as type *SecureString*, as shown in some of
305308

306309
```json
307310
"extendedProperties": {
308-
"connectionString": "aSampleSecureString"
311+
"connectionString": {
312+
"type": "SecureString",
313+
"value": "aSampleSecureString"
314+
}
309315
}
310316
```
311317

articles/data-factory/tutorial-copy-data-dot-net.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,10 @@ Creating linked service AzureStorageLinkedService...
444444
"properties": {
445445
"type": "AzureStorage",
446446
"typeProperties": {
447-
"connectionString": "DefaultEndpointsProtocol=https;AccountName=<accountName>;AccountKey=<accountKey>"
447+
"connectionString": {
448+
"type": "SecureString",
449+
"value": "DefaultEndpointsProtocol=https;AccountName=<accountName>;AccountKey=<accountKey>"
450+
}
448451
}
449452
}
450453
}
@@ -453,7 +456,10 @@ Creating linked service AzureSqlDbLinkedService...
453456
"properties": {
454457
"type": "AzureSqlDatabase",
455458
"typeProperties": {
456-
"connectionString": "Server=tcp:<servername>.database.windows.net,1433;Database=<databasename>;User ID=<username>@<servername>;Password=<password>;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"
459+
"connectionString": {
460+
"type": "SecureString",
461+
"value": "Server=tcp:<servername>.database.windows.net,1433;Database=<databasename>;User ID=<username>@<servername>;Password=<password>;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"
462+
}
457463
}
458464
}
459465
}

0 commit comments

Comments
 (0)