Skip to content

Commit 2eb1b53

Browse files
authored
Merge pull request #111365 from nibaccam/patch-2
Account key to Access key
2 parents 91753f7 + 75172de commit 2eb1b53

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/machine-learning/how-to-access-data.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ We recommend creating a datastore for an [Azure Blob container](https://docs.mic
7070
When you create a workspace, an Azure blob container and an Azure file share are automatically registered to the workspace. They're named `workspaceblobstore` and `workspacefilestore`, respectively. `workspaceblobstore` is used to store workspace artifacts and your machine learning experiment logs. `workspacefilestore` is used to store notebooks and R scripts authorized via [compute instance](https://docs.microsoft.com/azure/machine-learning/concept-compute-instance#accessing-files). The `workspaceblobstore` container is set as the default datastore.
7171

7272
> [!IMPORTANT]
73-
> Azure Machine Learning designer (preview) will create a datastore named **azureml_globaldatasets** automatically when you open a sample in the designer homepage. This datastore only contains sample datasets. Please **do not** use this datastore for any confidential data access!
73+
> Azure Machine Learning designer (preview) will create a datastore named **azureml_globaldatasets** automatically when you open a sample in the designer homepage. This datastore only contains sample datasets. Please **do not** use this datastore for any confidential data access.
7474
> ![Auto-created datastore for designer sample datasets](media/how-to-access-data/datastore-designer-sample.png)
7575
7676
<a name="access"></a>
@@ -91,7 +91,7 @@ All the register methods are on the [`Datastore`](https://docs.microsoft.com/pyt
9191
You can find the information that you need to populate the `register()` method on the [Azure portal](https://portal.azure.com).
9292
Select **Storage Accounts** on the left pane, and choose the storage account that you want to register. The **Overview** page provides information such as the account name, container, and file share name.
9393

94-
* For authentication items, like account key or SAS token, go to **Account Keys** on the **Settings** pane.
94+
* For authentication items, like account key or SAS token, go to **Access keys** on the **Settings** pane.
9595

9696
* For service principal items like, tenant ID and client ID, go to your **App registrations** and select which app you want to use. Its corresponding **Overview** page will contain these items.
9797

@@ -104,13 +104,13 @@ The following examples show how to register an Azure blob container, an Azure fi
104104

105105
To register an Azure blob container as a datastore, use [`register_azure_blob-container()`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.datastore(class)?view=azure-ml-py#register-azure-blob-container-workspace--datastore-name--container-name--account-name--sas-token-none--account-key-none--protocol-none--endpoint-none--overwrite-false--create-if-not-exists-false--skip-validation-false--blob-cache-timeout-none--grant-workspace-access-false--subscription-id-none--resource-group-none-).
106106

107-
The following code creates and registers the `blob_datastore_name` datastore to the `ws` workspace. This datastore accesses the `my-container-name` blob container on the `my-account-name` storage account, by using the provided account key.
107+
The following code creates and registers the `blob_datastore_name` datastore to the `ws` workspace. This datastore accesses the `my-container-name` blob container on the `my-account-name` storage account, by using the provided account access key.
108108

109109
```Python
110110
blob_datastore_name='azblobsdk' # Name of the datastore to workspace
111111
container_name=os.getenv("BLOB_CONTAINER", "<my-container-name>") # Name of Azure blob container
112112
account_name=os.getenv("BLOB_ACCOUNTNAME", "<my-account-name>") # Storage account name
113-
account_key=os.getenv("BLOB_ACCOUNT_KEY", "<my-account-key>") # Storage account key
113+
account_key=os.getenv("BLOB_ACCOUNT_KEY", "<my-account-key>") # Storage account access key
114114

115115
blob_datastore = Datastore.register_azure_blob_container(workspace=ws,
116116
datastore_name=blob_datastore_name,
@@ -123,13 +123,13 @@ blob_datastore = Datastore.register_azure_blob_container(workspace=ws,
123123

124124
To register an Azure file share as a datastore, use [`register_azure_file_share()`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.datastore(class)?view=azure-ml-py#register-azure-file-share-workspace--datastore-name--file-share-name--account-name--sas-token-none--account-key-none--protocol-none--endpoint-none--overwrite-false--create-if-not-exists-false--skip-validation-false-).
125125

126-
The following code creates and registers the `file_datastore_name` datastore to the `ws` workspace. This datastore accesses the `my-fileshare-name` file share on the `my-account-name` storage account, by using the provided account key.
126+
The following code creates and registers the `file_datastore_name` datastore to the `ws` workspace. This datastore accesses the `my-fileshare-name` file share on the `my-account-name` storage account, by using the provided account access key.
127127

128128
```Python
129129
file_datastore_name='azfilesharesdk' # Name of the datastore to workspace
130130
file_share_name=os.getenv("FILE_SHARE_CONTAINER", "<my-fileshare-name>") # Name of Azure file share container
131131
account_name=os.getenv("FILE_SHARE_ACCOUNTNAME", "<my-account-name>") # Storage account name
132-
account_key=os.getenv("FILE_SHARE_ACCOUNT_KEY", "<my-account-key>") # Storage account key
132+
account_key=os.getenv("FILE_SHARE_ACCOUNT_KEY", "<my-account-key>") # Storage account access key
133133

134134
file_datastore = Datastore.register_azure_file_share(workspace=ws,
135135
datastore_name=file_datastore_name,
@@ -178,7 +178,7 @@ Create a new datastore in a few steps in Azure Machine Learning studio:
178178

179179
You can find the information that you need to populate the form on the [Azure portal](https://portal.azure.com). Select **Storage Accounts** on the left pane, and choose the storage account that you want to register. The **Overview** page provides information such as the account name, container, and file share name.
180180

181-
* For authentication items, like account key or SAS token, go to **Account Keys** on the **Settings** pane.
181+
* For authentication items, like account key or SAS token, go to **Access keys** on the **Settings** pane.
182182

183183
* For service principal items like, tenant ID and client ID, go to your **App registrations** and select which app you want to use. Its corresponding **Overview** page will contain these items.
184184

0 commit comments

Comments
 (0)