From 1de38b301520fce81eb43c999eb5405d9090251f Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Tue, 6 Jul 2021 11:15:34 -0700 Subject: [PATCH] Update azure storage docs (#3079) * Add env var setup information for using Azure Storage * Fix AZURE_STORAGE_CONTAINER -> AZURE_STORAGE_ACCOUNT * add hemant's suggestions --- docs/model_repository.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/model_repository.md b/docs/model_repository.md index 73f3a0f1a9..cd4bdef20f 100644 --- a/docs/model_repository.md +++ b/docs/model_repository.md @@ -158,6 +158,17 @@ must be prefixed with as://. $ tritonserver --model-repository=as://account_name/container_name/path/to/model/repository ... ``` +When using Azure Storage, you must set the `AZURE_STORAGE_ACCOUNT` and `AZURE_STORAGE_KEY` +environment variables to an account that has access to the Azure Storage repository. + +If you don't know your `AZURE_STORAGE_KEY` and have your Azure CLI correctly configured, +here's an example of how to find a key corresponding to your `AZURE_STORAGE_ACCOUNT`: + +```bash +$ export AZURE_STORAGE_ACCOUNT="account_name" +$ export AZURE_STORAGE_KEY=$(az storage account keys list -n $AZURE_STORAGE_ACCOUNT --query "[0].value") +``` + ## Model Versions Each model can have one or more versions available in the model