Cyberduck Cyberduck Mountain Duck Mountain Duck Cyberduck CLI CLI

Sign in to Azure Blob Storage with Microsoft Entra ID

· David Kocher · Posted in Cyberduck

Connecting to Azure Blob Storage no longer requires sharing storage account keys or Shared Access Signature tokens. With support for Microsoft Entra ID in Cyberduck 9.6, you sign in with your Microsoft account and access to blob data is authorized with Azure role-based access control (Azure RBAC).

Why Use Microsoft Entra ID?

Access keys grant full access to a storage account and are easily leaked or shared. Authenticating with Microsoft Entra ID instead gives you:

Connect in Cyberduck

  1. Create a new bookmark and choose the Azure (Microsoft Entra ID) connection profile. It is bundled by default and can also be installed from Preferences → Profiles.
  2. Edit the hostname to connect to your account in the format <account>.blob.core.windows.net.
  3. Choose Connect and log in to your Microsoft account in your web browser. Allow to open Cyberduck to submit the authorization code.

Subsequent connections will not require authorization again, unless the refresh token expired due to inactivity. Tokens are saved in your keychain separately for every storage account.

Set Up Permissions

The signed-in user needs two permissions on the storage account:

Our tutorial Set Up Permissions for Microsoft Entra ID Authentication to Azure Blob Storage walks through creating the role and assigning both roles with the Azure CLI or the Azure portal, and lists troubleshooting steps.

Get Started

See the Azure Blob Storage documentation for details.