Install Microsoft Azure Storage Explorer

Posted on  by 



Storage Explorer can connect to an Azure Storage emulator. Currently, there are two supported emulators: Azure Storage Emulator (Windows only) Azurite (Windows, macOS, or Linux) If your emulator is listening on the default ports, you can use the Local & Attached Storage Accounts Emulator - Default Ports node to access your emulator. The Microsoft Azure Storage Emulator is a tool that emulates the Azure Blob, Queue, and Table services for local development purposes. You can test your application against the storage services locally without creating an Azure subscription or incurring any costs.

Hello everyone, Welcome back to a new episode, how to install and use Azure Storage Explorer in Microsoft Azure.Time track:- 00:55 Download and install Azure.

-->

Overview

Azure Blob Storage is a service for storing large amounts of unstructured data, such as text or binary data, that can be accessed from anywhere in the world via HTTP or HTTPS.You can use Blob storage to expose data publicly to the world, or to store application data privately. In this article, you'll learn how to use Storage Explorerto work with blob containers and blobs.

Prerequisites

To complete the steps in this article, you'll need the following:

Create a blob container

All blobs must reside in a blob container, which is simply a logical grouping of blobs. An account can contain an unlimited number of containers, and each container can store an unlimited number of blobs.

The following steps illustrate how to create a blob container within Storage Explorer.

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account within which you wish to create the blob container.

  3. Right-click Blob Containers, and - from the context menu - select Create Blob Container.

  4. A text box will appear below the Blob Containers folder. Enter the name for your blob container. See Create a container for information on rules and restrictions on naming blob containers.

  5. Press Enter when done to create the blob container, or Esc to cancel. Once the blob container has been successfully created, it will be displayed under the Blob Containers folder for the selected storage account.

View a blob container's contents

Blob containers contain blobs and folders (that can also contain blobs).

The following steps illustrate how to view the contents of a blob container within Storage Explorer:

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account containing the blob container you wish to view.

  3. Expand the storage account's Blob Containers.

  4. Right-click the blob container you wish to view, and - from the context menu - select Open Blob Container Editor.You can also double-click the blob container you wish to view.

  5. The main pane will display the blob container's contents.

Delete a blob container

Blob containers can be easily created and deleted as needed. (To see how to delete individual blobs,refer to the section, Managing blobs in a blob container.)

The following steps illustrate how to delete a blob container within Storage Explorer:

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account containing the blob container you wish to view.

  3. Expand the storage account's Blob Containers.

  4. Right-click the blob container you wish to delete, and - from the context menu - select Delete.You can also press Delete to delete the currently selected blob container.

  5. Select Yes to the confirmation dialog.

Copy a blob container

Storage Explorer enables you to copy a blob container to the clipboard, and then paste that blob container into another storage account. (To see how to copy individual blobs,refer to the section, Managing blobs in a blob container.)

The following steps illustrate how to copy a blob container from one storage account to another.

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account containing the blob container you wish to copy.

  3. Expand the storage account's Blob Containers.

  4. Right-click the blob container you wish to copy, and - from the context menu - select Copy Blob Container.

  5. Right-click the desired 'target' storage account into which you want to paste the blob container, and - from the context menu - select Paste Blob Container.

Get the SAS for a blob container

A shared access signature (SAS) provides delegated access to resources in your storage account.This means that you can grant a client limited permissions to objects in your storage account for a specified period of time and with a specified set of permissions, without having toshare your account access keys.

The following steps illustrate how to create a SAS for a blob container:

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account containing the blob container for which you wish to get a SAS.

  3. Expand the storage account's Blob Containers.

  4. Right-click the desired blob container, and - from the context menu - select Get Shared Access Signature.

  5. In the Shared Access Signature dialog, specify the policy, start and expiration dates, time zone, and access levels you want for the resource.

  6. When you're finished specifying the SAS options, select Create.

  7. A second Shared Access Signature dialog will then display that lists the blob container along with the URL and QueryStrings you can use to access the storage resource.Select Copy next to the URL you wish to copy to the clipboard.

  8. When done, select Close.

Manage Access Policies for a blob container

The following steps illustrate how to manage (add and remove) access policies for a blob container:

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account containing the blob container whose access policies you wish to manage.

  3. Expand the storage account's Blob Containers.

  4. Select the desired blob container, and - from the context menu - select Manage Access Policies.

  5. The Access Policies dialog will list any access policies already created for the selected blob container.

  6. Follow these steps depending on the access policy management task:

    • Add a new access policy - Select Add. Once generated, the Access Policies dialog will display the newly added access policy (with default settings).
    • Edit an access policy - Make any desired edits, and select Save.
    • Remove an access policy - Select Remove next to the access policy you wish to remove.

Set the Public Access Level for a blob container

By default, every blob container is set to 'No public access'.

The following steps illustrate how to specify a public access level for a blob container.

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account containing the blob container whose access policies you wish to manage.

  3. Expand the storage account's Blob Containers.

  4. Select the desired blob container, and - from the context menu - select Set Public Access Level.

  5. In the Set Container Public Access Level dialog, specify the desired access level.

  6. Select Apply.

Managing blobs in a blob container

Once you've created a blob container, you can upload a blob to that blob container, download a blob to your local computer, open a blob on your local computer,and much more.

The following steps illustrate how to manage the blobs (and folders) within a blob container.

  1. Open Storage Explorer.

  2. In the left pane, expand the storage account containing the blob container you wish to manage.

  3. Expand the storage account's Blob Containers.

  4. Double-click the blob container you wish to view.

  5. The main pane will display the blob container's contents.

  6. The main pane will display the blob container's contents.

  7. Follow these steps depending on the task you wish to perform:

    • Upload files to a blob container

      1. On the main pane's toolbar, select Upload, and then Upload Files from the drop-down menu.

      2. In the Upload files dialog, select the ellipsis () button on the right side of the Files text box to select the file(s) you wish to upload.

      3. Specify the type of Blob type. See Create a container for more information.

      4. Optionally, specify a target folder into which the selected file(s) will be uploaded. If the target folder doesn’t exist, it will be created.

      5. Select Upload.

    • Upload a folder to a blob container

      1. On the main pane's toolbar, select Upload, and then Upload Folder from the drop-down menu.

      2. In the Upload folder dialog, select the ellipsis () button on the right side of the Folder text box to select the folder whose contents you wish to upload.

      3. Specify the type of Blob type. See Create a container for more information.

      4. Optionally, specify a target folder into which the selected folder's contents will be uploaded. If the target folder doesn’t exist, it will be created.

      5. Select Upload.

    • Download a blob to your local computer

      1. Select the blob you wish to download.
      2. On the main pane's toolbar, select Download.
      3. In the Specify where to save the downloaded blob dialog, specify the location where you want the blob downloaded, and the name you wish to give it.
      4. Select Save.
    • Open a blob on your local computer

      1. Select the blob you wish to open.
      2. On the main pane's toolbar, select Open.
      3. The blob will be downloaded and opened using the application associated with the blob's underlying file type.
    • Copy a blob to the clipboard

      1. Select the blob you wish to copy.
      2. On the main pane's toolbar, select Copy.
      3. In the left pane, navigate to another blob container, and double-click it to view it in the main pane.
      4. On the main pane's toolbar, select Paste to create a copy of the blob.
    • Delete a blob

      1. Select the blob you wish to delete.
      2. On the main pane's toolbar, select Delete.
      3. Select Yes to the confirmation dialog.

Next steps

  • View the latest Storage Explorer release notes and videos.
  • Learn how to create applications using Azure blobs, tables, queues, and files.
-->

Overview

Microsoft Azure Storage Explorer is a standalone app that makes it easy to work with Azure Storage data on Windows, macOS, and Linux.

In this article, you'll learn several ways of connecting to and managing your Azure storage accounts.

Prerequisites

The following versions of Windows support Storage Explorer:

  • Windows 10 (recommended)
  • Windows 8
  • Windows 7

For all versions of Windows, Storage Explorer requires .NET Framework 4.7.2 at a minimum.

The following versions of macOS support Storage Explorer: Pcsx2 ratchet deadlocked.

  • macOS 10.12 Sierra and later versions

Storage Explorer is available in the Snap Store for most common distributions of Linux. We recommend Snap Store for this installation. The Storage Explorer snap installs all of its dependencies and updates when new versions are published to the Snap Store.

For supported distributions, see the snapd installation page.

Storage Explorer requires the use of a password manager. You might have to connect to a password manager manually. You can connect Storage Explorer to your system's password manager by running the following command:

Storage Explorer is also available as a .tar.gz download. If you use the .tar.gz, you must install dependencies manually. The following distributions of Linux support .tar.gz installation:

  • Ubuntu 20.04 x64
  • Ubuntu 18.04 x64
  • Ubuntu 16.04 x64

The .tar.gz installation might work on other distributions, but only these listed ones are officially supported.

For more help installing Storage Explorer on Linux, see Linux dependencies in the Azure Storage Explorer troubleshooting guide.

Download and install

To download and install Storage Explorer, see Azure Storage Explorer.

Connect to a storage account or service

Storage Explorer provides several ways to connect to Azure resources:

Sign in to Azure

Note

To fully access resources after you sign in, Storage Explorer requires both management (Azure Resource Manager) and data layer permissions. This means that you need Azure Active Directory (Azure AD) permissions to access your storage account, the containers in the account, and the data in the containers. If you have permissions only at the data layer, consider choosing the Sign in using Azure Active Directory (Azure AD) option when attaching to a resource. For more information about the specific permissions Storage Explorer requires, see the Azure Storage Explorer troubleshooting guide.

  1. In Storage Explorer, select View > Account Management or select the Manage Accounts button.

  2. ACCOUNT MANAGEMENT now displays all the Azure accounts you're signed in to. To connect to another account, select Add an account...

  3. The Connect to Azure Storage dialog opens. In the Select Resource panel, select Subscription.

  4. In the Select Azure Environment panel, select an Azure environment to sign in to. You can sign in to global Azure, a national cloud or an Azure Stack instance. Then select Next.

    Tip

    For more information about Azure Stack, see Connect Storage Explorer to an Azure Stack subscription or storage account.

  5. Storage Explorer will open a webpage for you to sign in.

  6. After you successfully sign in with an Azure account, the account and the Azure subscriptions associated with that account appear under ACCOUNT MANAGEMENT. Select the Azure subscriptions that you want to work with, and then select Apply.

  7. EXPLORER displays the storage accounts associated with the selected Azure subscriptions.

Attach to an individual resource

Storage Explorer lets you connect to individual resources, such as an Azure Data Lake Storage Gen2 container, using various authentication methods. Some authentication methods are only supported for certain resource types.

Resource typeAzure ADAccount Name and KeyShared Access Signature (SAS)Public (anonymous)
Storage accountsYesYesYes (connection string or URL)No
Blob containersYesNoYes (URL)Yes
Gen2 containersYesNoYes (URL)Yes
Gen2 directoriesYesNoYes (URL)Yes
File sharesNoNoYes (URL)No
QueuesYesNoYes (URL)No
TablesNoNoYes (URL)No

Storage Explorer can also connect to a local storage emulator using the emulator's configured ports.

To connect to an individual resource, select the Connect button in the left-hand toolbar. Then follow the instructions for the resource type you want to connect to.

When a connection to a storage account is successfully added, a new tree node will appear under Local & Attached > Storage Accounts.

For other resource types, a new node is added under Local & Attached > Storage Accounts > (Attached Containers). The node will appear under a group node matching its type. For example, a new connection to an Azure Data Lake Storage Gen2 container will appear under Blob Containers.

If Storage Explorer couldn't add your connection, or if you can't access your data after successfully adding the connection, see the Azure Storage Explorer troubleshooting guide.

The following sections describe the different authentication methods you can use to connect to individual resources.

Azure AD

Storage Explorer can use your Azure account to connect to the following resource types:

  • Blob containers
  • Azure Data Lake Storage Gen2 containers
  • Azure Data Lake Storage Gen2 directories
  • Queues

Azure AD is the preferred option if you have data layer access to your resource but no management layer access.

  1. Sign in to at least one Azure account using the steps described above.
  2. In the Select Resource panel of the Connect to Azure Storage dialog, select Blob container, ADLS Gen2 container, or Queue.
  3. Select Sign in using Azure Active Directory (Azure AD) and select Next.
  4. Select an Azure account and tenant. The account and tenant must have access to the Storage resource you want to attach to. Select Next.
  5. Enter a display name for your connection and the URL of the resource. Select Next.
  6. Review your connection information in the Summary panel. If the connection information is correct, select Connect.

Account name and key

Storage Explorer can connect to a storage account using the storage account's name and key.

Storage

You can find your account keys in the Azure portal. Open your storage account page and select Settings > Access keys.

  1. In the Select Resource panel of the Connect to Azure Storage dialog, select Storage account.
  2. Select Account name and key and select Next.
  3. Enter a display name for your connection, the name of the account, and one of the account keys. Select the appropriate Azure environment. Select Next.
  4. Review your connection information in the Summary panel. If the connection information is correct, select Connect.

Shared access signature (SAS) connection string

Storage Explorer can connect to a storage account using a connection string with a Shared Access Signature (SAS). A SAS connection string looks like this:

  1. In the Select Resource panel of the Connect to Azure Storage dialog, select Storage account.
  2. Select Shared access signature (SAS) and select Next.
  3. Enter a display name for your connection and the SAS connection string for the storage account. Select Next.
  4. Review your connection information in the Summary panel. If the connection information is correct, select Connect.

Shared access signature (SAS) URL

Storage Explorer can connect to the following resource types using a SAS URI:

  • Blob container
  • Azure Data Lake Storage Gen2 container or directory
  • File share
  • Queue
  • Table

A SAS URI looks like this:

  1. In the Select Resource panel of the Connect to Azure Storage dialog, select the resource you want to connect to.
  2. Select Shared access signature (SAS) and select Next.
  3. Enter a display name for your connection and the SAS URI for the resource. Select Next.
  4. Review your connection information in the Summary panel. If the connection information is correct, select Connect.

Local storage emulator

Storage Explorer can connect to an Azure Storage emulator. Currently, there are two supported emulators:

  • Azure Storage Emulator (Windows only)
  • Azurite (Windows, macOS, or Linux)

If your emulator is listening on the default ports, you can use the Local & Attached > Storage Accounts > Emulator - Default Ports node to access your emulator.

If you want to use a different name for your connection, or if your emulator isn't running on the default ports:

  1. Start your emulator.

    Important

    Storage Explorer doesn't automatically start your emulator. You must start it manually.

  2. In the Select Resource panel of the Connect to Azure Storage dialog, select Local storage emulator.

  3. Enter a display name for your connection and the port number for each emulated service you want to use. If you don't want to use to a service, leave the corresponding port blank. Select Next.

  4. Review your connection information in the Summary panel. If the connection information is correct, select Connect.

Connect to Azure Cosmos DB

Storage Explorer also supports connecting to Azure Cosmos DB resources.

Connect to an Azure Cosmos DB account by using a connection string

Instead of managing Azure Cosmos DB accounts through an Azure subscription, you can connect to Azure Cosmos DB by using a connection string. To connect, follow these steps:

  1. Under EXPLORER, expand Local & Attached, right-click Cosmos DB Accounts, and select Connect to Azure Cosmos DB.

  2. Select the Azure Cosmos DB API, enter your Connection String data, and then select OK to connect the Azure Cosmos DB account. For information about how to retrieve the connection string, see Manage an Azure Cosmos account.

Connect to Azure Data Lake Store by URI

You can access a resource that's not in your subscription. You need someone who has access to that resource to give you the resource URI. After you sign in, connect to Data Lake Store by using the URI. To connect, follow these steps:

  1. Under EXPLORER, expand Local & Attached.

  2. Right-click Data Lake Storage Gen1, and select Connect to Data Lake Storage Gen1.

  3. Enter the URI, and then select OK. Your Data Lake Store appears under Data Lake Storage.

This example uses Data Lake Storage Gen1. Azure Data Lake Storage Gen2 is now available. For more information, see What is Azure Data Lake Storage Gen1.

Generate a shared access signature in Storage Explorer

Account level shared access signature

  1. Right-click the storage account you want share, and then select Get Shared Access Signature.

  2. In Shared Access Signature, specify the time frame and permissions you want for the account, and then select Create.

  3. Copy either the Connection string or the raw Query string to your clipboard.

Service level shared access signature

You can get a shared access signature at the service level. For more information, see Get the SAS for a blob container.

Search for storage accounts

To find a storage resource, you can search in the EXPLORER pane.

As you enter text in the search box, Storage Explorer displays all resources that match the search value you've entered up to that point. This example shows a search for endpoints:

Note

To speed up your search, use Account Management to deselect any subscriptions that don't contain the item you're searching for. You can also right-click a node and select Search From Here to start searching from a specific node.

Install Microsoft Azure Storage Explorer Windows 10

Next steps





Coments are closed