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: articles/app-service/containers/configure-language-java.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,23 +234,37 @@ To inject these secrets in your Spring or Tomcat configuration file, use environ
234
234
235
235
### Using the Java Key Store
236
236
237
-
By default, any public or private certificates [uploaded to App Service Linux](../configure-ssl-certificate.md) will be loaded into the Java Key Store as the container starts. This means your uploaded certificates will be available in the connection context when making outbound TLS connections. After uploading your certificate, you will need to restart your App Service for it to be loaded into the Java Key Store.
237
+
By default, any public or private certificates [uploaded to App Service Linux](../configure-ssl-certificate.md) will be loaded into the respective Java Key Stores as the container starts. After uploading your certificate, you will need to restart your App Service for it to be loaded into the Java Key Store. Public certificates are loaded into the Key Store at `$JAVA_HOME/jre/lib/security/cacerts`, and private certificates are stored in `$JAVA_HOME/lib/security/client.jks`.
238
238
239
-
You can interact or debug the Java Key Tool by [opening an SSH connection](app-service-linux-ssh-support.md) to your App Service and running the command `keytool`. See the [Key Tool documentation](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html) for a list of commands. The certificates are stored in Java's default keystore file location, `$JAVA_HOME/jre/lib/security/cacerts`.
240
-
241
-
Additional configuration may be necessary for encrypting your JDBC connection. Please refer to the documentation for your chosen JDBC driver.
239
+
Additional configuration may be necessary for encrypting your JDBC connection with certificates in the Java Key Store. Please refer to the documentation for your chosen JDBC driver.
To initialize the `import java.security.KeyStore` object, load the keystore file with the password. The default password for both key stores is "changeit".
250
+
251
+
```java
252
+
KeyStore keyStore = KeyStore.getInstance("jks");
253
+
keyStore.load(
254
+
new FileInputStream(System.getenv("JAVA_HOME")+"/lib/security/cacets"),
new FileInputStream(System.getenv("JAVA_HOME")+"/lib/security/client.jks"),
260
+
"changeit".toCharArray());
261
+
```
262
+
263
+
#### Manually load the key store
250
264
251
-
You can initialize the key store and add certificates manually. Create an app setting, `SKIP_JAVA_KEYSTORE_LOAD`, with a value of `1` to disable AppService from loading the certificates into the key store automatically. Allpublic certificates uploaded to AppService via the Azure portal are stored under `/var/ssl/certs/`.Private certificates are stored under `/var/ssl/private/`.
265
+
You can load certificates manually to the key store. Create an app setting, `SKIP_JAVA_KEYSTORE_LOAD`, with a value of `1` to disable App Service from loading the certificates into the key store automatically. All public certificates uploaded to App Service via the Azure portal are stored under `/var/ssl/certs/`. Private certificates are stored under `/var/ssl/private/`.
252
266
253
-
For more information on the KeyStoreAPI, please refer to [the official documentation](https://docs.oracle.com/javase/8/docs/api/java/security/KeyStore.html).
267
+
You can interact or debug the Java Key Tool by [opening an SSH connection](app-service-linux-ssh-support.md) to your App Service and running the command `keytool`. See the [Key Tool documentation](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html) for a list of commands. For more information on the KeyStore API, please refer to [the official documentation](https://docs.oracle.com/javase/8/docs/api/java/security/KeyStore.html).
254
268
255
269
## Configure APM platforms
256
270
@@ -368,7 +382,7 @@ Your startup script will make an [xsl transform](https://www.w3schools.com/xml/x
Copy file name to clipboardExpand all lines: articles/sql-data-warehouse/sql-data-warehouse-install-visual-studio.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ manager: craigg
9
9
ms.service: sql-data-warehouse
10
10
ms.topic: conceptual
11
11
ms.subservice: development
12
-
ms.date: 11/06/2019
12
+
ms.date: 01/07/2020
13
13
ms.author: kevin
14
14
ms.reviewer: igorstan
15
15
ms.custom: seo-lt-2019
@@ -41,6 +41,7 @@ There are times when feature releases for SQL Data Warehouse may not include sup
41
41
-[Dynamic data masking](https://docs.microsoft.com/sql/relational-databases/security/dynamic-data-masking?toc=%2Fazure%2Fsql-data-warehouse%2Ftoc.json&view=sql-server-2017#defining-a-dynamic-data-mask)
42
42
- Submit a support ticket or vote [here](https://feedback.azure.com/forums/307516-sql-data-warehouse/suggestions/39040048-ssdt-support-dynamic-data-masking) to get the feature supported.
43
43
-[PREDICT](https://docs.microsoft.com/sql/t-sql/queries/predict-transact-sql?view=sql-server-ver15&viewFallbackFrom=azure-sqldw-latest) function
44
+
-[Tables with constraints](https://docs.microsoft.com/azure/sql-data-warehouse/sql-data-warehouse-table-constraints#table-constraints) are not supported. For these table objects, set the build action to "None".
Copy file name to clipboardExpand all lines: articles/storage/common/storage-samples-dotnet.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The following table provides an overview of our samples repository and the scena
17
17
> [!NOTE]
18
18
> These samples use the Azure Storage .NET v11 library. For v12 code, see [samples](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/storage/Azure.Storage.Blobs/samples) in the GitHub repository.
19
19
20
-
## Blob samples
20
+
## Blob samples (v11)
21
21
22
22
|**Scenario**|**Sample Code**|
23
23
|--------------|-----------------|
@@ -38,7 +38,7 @@ The following table provides an overview of our samples repository and the scena
38
38
| Service Properties |[Getting Started with Blobs](https://github.com/Azure-Samples/storage-blob-dotnet-getting-started/blob/master/BlobStorage/Advanced.cs)|
@@ -65,7 +65,7 @@ The following table provides an overview of our samples repository and the scena
65
65
| Queue Service Properties |[Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/Advanced.cs)|
66
66
| Update Message |[Getting Started with Azure Queue Service in .NET](https://github.com/Azure-Samples/storage-queue-dotnet-getting-started/blob/master/QueueStorage/GettingStarted.cs)|
Copy file name to clipboardExpand all lines: articles/storage/common/storage-samples-java.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,10 @@ ms.topic: sample
14
14
15
15
The following table provides an overview of our samples repository and the scenarios covered in each sample. Click on the links to view the corresponding sample code in GitHub.
16
16
17
-
## Blob samples
17
+
> [!NOTE]
18
+
> These samples use the Azure Storage Java v11 library. For v12 code, see [samples](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob) in the GitHub repository.
19
+
20
+
## Blob samples (v11)
18
21
19
22
|**Scenario**|**Sample Code**|
20
23
|--------------|-----------------|
@@ -35,7 +38,7 @@ The following table provides an overview of our samples repository and the scena
35
38
| Service Properties |[Getting Started with Azure Blob Service in Java](https://github.com/Azure-Samples/storage-blob-java-getting-started/blob/master/src/BlobAdvanced.java)|
36
39
| Snapshot Blob |[Getting Started with Azure Blob Service in Java](https://github.com/Azure-Samples/storage-blob-java-getting-started/blob/master/src/BlobBasics.java)|
37
40
38
-
## File samples
41
+
## File samples (v11)
39
42
40
43
|**Scenario**|**Sample Code**|
41
44
|--------------|-----------------|
@@ -49,7 +52,7 @@ The following table provides an overview of our samples repository and the scena
49
52
| List Shares |[Getting Started with Azure File Service in Java](https://github.com/Azure-Samples/storage-file-java-getting-started/blob/master/src/FileBasics.java)|
50
53
| Share Properties/Metadata/Stats |[Getting Started with Azure File Service in Java](https://github.com/Azure-Samples/storage-file-java-getting-started/blob/master/src/FileAdvanced.java)|
51
54
52
-
## Queue samples
55
+
## Queue samples (v11)
53
56
54
57
|**Scenario**|**Sample Code**|
55
58
|--------------|-----------------|
@@ -62,7 +65,7 @@ The following table provides an overview of our samples repository and the scena
62
65
| Queue Service Properties |[Getting Started with Azure Queue Service in Java](https://github.com/Azure-Samples/storage-queue-java-getting-started/blob/master/src/QueueAdvanced.java)|
63
66
| Update Message | [Getting Started with Azure Queue Service in Java](https://github.com/Azure-Samples/storage-queue-java-getting-started/blob/master/src/QueueBasics.java)
Copy file name to clipboardExpand all lines: articles/storage/common/storage-samples-javascript.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,10 @@ ms.topic: sample
14
14
15
15
The following tables provide an overview of our samples repository and the scenarios covered in each sample. Click on the links to view the corresponding sample code in GitHub.
16
16
17
-
## Blob samples
17
+
> [!NOTE]
18
+
> These samples use the Azure Storage JavaScript v10 library. For v12 code, see [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples) in the GitHub repository.
19
+
20
+
## Blob samples (v10)
18
21
19
22
|**Scenario**|**Sample Code**|
20
23
|--------------|-----------------|
@@ -39,7 +42,7 @@ The following tables provide an overview of our samples repository and the scena
39
42
| Set Cors rules |[Getting Started with Azure Blob Service in JavaScript](https://github.com/Azure-Samples/storage-blob-node-getting-started/blob/master/advanced.js#L152)|
40
43
| Snapshot Blob |[Getting Started with Azure Blob Service in JavaScript](https://github.com/Azure-Samples/storage-blob-node-getting-started/blob/master/basic.js#L79)|
41
44
42
-
## File samples
45
+
## File samples (v10)
43
46
44
47
|**Scenario**|**Sample Code**|
45
48
|--------------|-----------------|
@@ -49,7 +52,7 @@ The following tables provide an overview of our samples repository and the scena
49
52
| List Directories and Files |[Getting Started with Azure File Service in JavaScript](https://github.com/Azure-Samples/storage-file-node-getting-started/blob/master/fileSample.js#L115)|
50
53
| List Shares |[Getting Started with Azure File Service in JavaScript](https://github.com/Azure-Samples/storage-file-node-getting-started/blob/master/fileSample.js#L187)|
51
54
52
-
## Queue samples
55
+
## Queue samples (v10)
53
56
54
57
|**Scenario**|**Sample Code**|
55
58
|--------------|-----------------|
@@ -67,7 +70,7 @@ The following tables provide an overview of our samples repository and the scena
67
70
| Queue Stats |[Getting Started with Azure Queue Service in JavaScript](https://github.com/Azure-Samples/storage-queue-node-getting-started/blob/master/advanced.js#L149)|
68
71
| Update Message |[Getting Started with Azure Queue Service in JavaScript](https://github.com/Azure-Samples/storage-queue-node-getting-started/blob/master/basic.js#L176)|
Copy file name to clipboardExpand all lines: articles/storage/common/storage-samples-python.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,10 @@ ms.topic: sample
14
14
15
15
The following tables provide an overview of our samples repository and the scenarios covered in each sample. Click on the links to view the corresponding sample code in GitHub.
16
16
17
-
## Blob samples
17
+
> [!NOTE]
18
+
> These samples use the Azure Storage Python v2.1 library. For v12 code, see [samples](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/storage/azure-storage-blob/samples) in the GitHub repository.
19
+
20
+
## Blob samples (v2.1)
18
21
19
22
|**Scenario**|**Sample Code**|
20
23
|--------------|-----------------|
@@ -35,7 +38,7 @@ The following tables provide an overview of our samples repository and the scena
35
38
| Service Properties |[Getting Started with Azure Blob Service in Python](https://github.com/Azure-Samples/storage-blob-python-getting-started/blob/master/blob_advanced_samples.py#L540)|
36
39
| Snapshot Blob |[Getting Started with Azure Blob Service in Python](https://github.com/Azure-Samples/storage-blob-python-getting-started/blob/master/blob_basic_samples.py#L214)|
37
40
38
-
## File samples
41
+
## File samples (v2.1)
39
42
40
43
|**Scenario**|**Sample Code**|
41
44
|--------------|-----------------|
@@ -49,7 +52,7 @@ The following tables provide an overview of our samples repository and the scena
49
52
| List Shares |[Getting Started with Azure File Service in Python](https://github.com/Azure-Samples/storage-file-python-getting-started/blob/master/file_advanced_samples.py#L82)|
50
53
| Share Properties/Metadata/Stats |[Getting Started with Azure File Service in Python](https://github.com/Azure-Samples/storage-file-python-getting-started/blob/master/file_advanced_samples.py#L144)|
51
54
52
-
## Queue samples
55
+
## Queue samples (v2.1)
53
56
54
57
|**Scenario**|**Sample Code**|
55
58
|--------------|-----------------|
@@ -62,7 +65,7 @@ The following tables provide an overview of our samples repository and the scena
62
65
| Queue Service Properties |[Getting Started with Azure Queue Service in Python](https://github.com/Azure-Samples/storage-queue-python-getting-started/blob/master/queue_advanced_samples.py#L128)|
63
66
| Update Message |[Getting Started with Azure Queue Service in Python](https://github.com/Azure-Samples/storage-queue-python-getting-started/blob/master/queue_basic_samples.py#L120)|
0 commit comments