PyCharm 2023.3 Help

Azure

Connect to Microsoft Azure

  1. In the Big Data Tools window, click Add a connection and select Azure.

  2. In the Big Data Tools dialog that opens, specify the connection parameters:

    Connection settings for Azure Storage
    • Name: the name of the connection to distinguish it between the other connections.

    • Authentication type: select the authentication method.

      • Azure Account: click Authenticate to get your Azure authentication data. In the windows that opens, select one of the following:

        • Azure CLI (available if you have signed in to Azure CLI).

        • OAuth2: open your default browser to complete Azure authentication.

        • Device code: this will open a window display a device code. Click Copy Code and Open Browser to open your default browser and enter the displayed code there.

      • Username: enter your Azure endpoint, username, and the account key.

      • Connection String: enter your Azure connection string

      • SAS Token: enter your Azure endpoint and SAS token.

    • Choose the way to get Microsoft Azure containers:

      • Select Custom roots and, in the Container field, specify the name of the container or the path to a directory in the container. You can specify multiple names or paths by separating them with a comma.

      • Select All containers in the account. You can then use the container filter to show only containers with particular names.

    Optionally, you can set up:

    • Per project: select to enable these connection settings only for the current project. Deselect it if you want this connection to be visible in other projects.

    • Enable connection: deselect if you want to disable this connection. By default, the newly created connections are enabled.

  3. Once you fill in the settings, click Test connection to ensure that all configuration parameters are correct. Then click OK.

Once you have established a connection, you can view the storage and work with data files in it.

Last modified: 11 February 2024