title: Authenticating azcopy or az storage cli to upload to Azurite docker emulator
body: <p>I started an Azurite docker on local VM and then tried to copy data to it by azcopy and az CLI  like below</p>
  <pre><code>export AZURE_STORAGE_ACCOUNT=&quot;devstoreaccount1&quot;
  export AZURE_STORAGE_ACCESS_KEY=&quot;Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==&quot;
  azcopy copy /local/data/ http://localvm:10000/devstoreaccount1/data/test --from-to LocalBlob
  INFO: Scanning...
  
  failed to perform copy command due to error: Login Credentials missing. No SAS token or OAuth token is present and the resource is not public
  </code></pre>
  <p>I want to authenticate with the Account key and Account name and preferably be able to copy using azcopy.
  I scoured the GitHub and stack to find only one <a href="https://github.com/Azure/azure-storage-azcopy/issues/867" rel="nofollow noreferrer">https://github.com/Azure/azure-storage-azcopy/issues/867</a> issue and there is nothing there regarding auth. It looks like I am missing something that's obvious. Your help will be much appreciated.</p>
  <p>The version used were:
  azure-cli 2.11.1
  azcopy version 10.7.0</p>