Vira Vitanska created DATALAB-2672:
--------------------------------------

             Summary: [Azure] Connection to bucket via Azure CLI is not 
successful
                 Key: DATALAB-2672
                 URL: https://issues.apache.org/jira/browse/DATALAB-2672
             Project: Apache DataLab
          Issue Type: Bug
      Security Level: Public (Regular Issues)
          Components: DataLab Main
            Reporter: Vira Vitanska
            Assignee: Leonid Frolov
         Attachments: Azure cli.png

*Preconditions:*
 # Jupyter is created on Azure

*Steps to reproduce:*
 # Go to Jupyter terminal via Notebook UI
 # Run a command 
{code:java}
az storage blob list \
    --account-name <storage-account> \
    --container-name <container> \
    --output table \
    --auth-mode login {code}

*Actual result:*
 # List is not available
 # Error appears 'You do not have the required permissions needed to perform 
this operation.'

*Expected result:*
 # Blob storage list is available
 # Error is absent

----
the second option:
{code:java}
usage: az storage blob list [-h] [--verbose] [--debug] [--output 
{json,jsonc,table,tsv,yaml,none}] [--query JMESPATH]
                            [--account-name ACCOUNT_NAME] [--account-key 
ACCOUNT_KEY]
                            [--connection-string CONNECTION_STRING] 
[--sas-token SAS_TOKEN] [--subscription _SUBSCRIPTION]
                            --container-name CONTAINER_NAME [--prefix PREFIX] 
[--num-results NUM_RESULTS]
                            [--include INCLUDE] [--delimiter DELIMITER] 
[--marker MARKER] [--timeout TIMEOUT]
                            [--auth-mode {login,key}] {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to