diff --git a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_help.py b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_help.py index 9b4d7a71ca6..ffbacf5f5fe 100644 --- a/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_help.py +++ b/src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_help.py @@ -863,10 +863,14 @@ short-summary: 'Storage account name. Must be used in conjunction with either storage account key or a SAS token. Environment Variable: AZURE_STORAGE_ACCOUNT' examples: - - name: Generate a sas token for the account that is valid for queue and table services. + - name: Generate a sas token for the account that is valid for queue and table services on Linux. text: | end=`date -d "30 minutes" '+%Y-%m-%dT%H:%MZ'` az storage account generate-sas --permissions cdlruwap --account-name MyStorageAccount --services qt --resource-types sco --expiry $end -otsv + - name: Generate a sas token for the account that is valid for queue and table services on MacOS. + text: | + end=`date -v+30M '+%Y-%m-%dT%H:%MZ'` + az storage account generate-sas --permissions cdlruwap --account-name MyStorageAccount --services qt --resource-types sco --expiry $end -otsv """ helps['storage container generate-sas'] = """