Skip to content

Commit fb8af1e

Browse files
committed
freshness48
1 parent ed35c7b commit fb8af1e

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

articles/hdinsight/hdinsight-storage-sharedaccesssignature-permissions.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ author: hrasheed-msft
55
ms.author: hrasheed
66
ms.reviewer: jasonh
77
ms.service: hdinsight
8-
ms.custom: hdinsightactive
98
ms.topic: conceptual
10-
ms.date: 11/13/2019
9+
ms.custom: hdinsightactive
10+
ms.date: 04/14/2020
1111
---
1212

1313
# Use Azure Storage Shared Access Signatures to restrict access to data in HDInsight
@@ -22,8 +22,6 @@ HDInsight has full access to data in the Azure Storage accounts associated with
2222
2323
## Prerequisites
2424

25-
* An Azure subscription.
26-
2725
* An SSH client. For more information, see [Connect to HDInsight (Apache Hadoop) using SSH](./hdinsight-hadoop-linux-use-ssh-unix.md).
2826

2927
* An existing [storage container](../storage/blobs/storage-quickstart-blobs-portal.md).
@@ -200,21 +198,20 @@ Open the `SASToken.py` file and replace `storage_account_name`, `storage_account
200198
201199
You may need to execute `pip install --upgrade azure-storage` if you receive the error message `ImportError: No module named azure.storage`.
202200
203-
### Using C#
201+
### Using C\#
204202
205203
1. Open the solution in Visual Studio.
206204
207205
2. In Solution Explorer, right-click on the **SASExample** project and select **Properties**.
208206
209207
3. Select **Settings** and add values for the following entries:
210208
211-
* StorageConnectionString: The connection string for the storage account that you want to create a stored policy and SAS for. The format should be `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=mykey` where `myaccount` is the name of your storage account and `mykey` is the key for the storage account.
212-
213-
* ContainerName: The container in the storage account that you want to restrict access to.
214-
215-
* SASPolicyName: The name to use for the stored policy to create.
216-
217-
* FileToUpload: The path to a file that is uploaded to the container.
209+
|Item |Description |
210+
|---|---|
211+
|StorageConnectionString|The connection string for the storage account that you want to create a stored policy and SAS for. The format should be `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=mykey` where `myaccount` is the name of your storage account and `mykey` is the key for the storage account.|
212+
|ContainerName|The container in the storage account that you want to restrict access to.|
213+
|SASPolicyName|The name to use for the stored policy to create.|
214+
|FileToUpload|The path to a file that is uploaded to the container.|
218215
219216
4. Run the project. Save the SAS policy token, storage account name, and container name. These values are used when associating the storage account with your HDInsight cluster.
220217

0 commit comments

Comments
 (0)