メインコンテンツへスキップ

Azure Synapse コネクタを追加

Azure Synapse への認証

After you add the connector, you need to set the required properties.
  • Server: Enter the name of the server that runs Azure Synapse.
  • Port: Enter the port number for Azure Synapse. The default port value is 1433.
  • Database: Enter the name of the Azure Synapse database.
CData Sync supports authenticating to Azure Synapse in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

Password

Azure Active Directory

Azure Managed Service Identity

Azure Service Principal

Azure サービスプリンシパルとクライアントシークレットで接続するには、次のプロパティを設定します:

  • Auth Scheme:AzureServicePrincipal を選択。
  • Azure Tenant:接続するMicrosoft Online テナントを入力。
  • OAuth Client Id:OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントId を入力。
  • OAuth Client Secret:OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントシークレットを入力。

アプリケーションのOAuth クライアントId およびクライアントシークレットを取得するには:

  1. Azure ポータルにログインします。
  2. 左ナビゲーションペインですべてのサービスを選択します。次にアプリの登録を検索し選択します。
  3. 新規登録をクリックします。
  4. アプリケーションの名前を入力して任意のAzure AD ディレクトリ - マルチテナントを選択します。
  5. アプリケーションを作成したら、概要セクションに表示されるアプリケーション (クライアント) ID の値をコピーします。この値をOAuth クライアントId として使用します。
  6. 証明書とシークレットセクションに移動して、アプリケーションの新しいクライアント シークレットを選択します。
  7. 有効期間を指定してクライアントシークレットを保存します。保存するとキーの値が表示されます。
  8. 値は一度しか表示されないので、コピーしておきます。この値をOAuth クライアントシークレットとして使用します。
  9. 認証タブで、必ずアクセストークン (暗黙的なフローに使用) を選択します。

Azure Service Principal Certificate

Azure サービスプリンシパルとクライアント証明書で接続するには、次のプロパティを設定します:

  • Auth Scheme:AzureServicePrincipalCert を選択。
  • Azure Tenant:接続するMicrosoft Online テナントを入力。
  • OAuth Client Id:OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントId を入力。
  • OAuth JWT Cert:Java web token(JWT)証明書ストアを入力。
  • OAuth JWT Cert Type:JWT 証明書を格納するキーストアの種類を入力。デフォルトの種類はPEMKEY_BLOB です。
  • (オプション)OAuth JWT Cert Password:OAuth JWT 証明書のパスワードを入力。
  • (オプション)OAuth JWT Cert Subject:OAuth JWT 証明書のサブジェクトを入力。

アプリケーションのOAuth 証明書を取得するには:

  1. Azure ポータルにログインします。
  2. 左ナビゲーションペインですべてのサービスを選択します。次にアプリの登録を検索し選択します。
  3. 新規登録をクリックします。
  4. アプリケーションの名前を入力して任意のAzure AD ディレクトリ - マルチテナントを選択します。
  5. アプリケーションを作成したら、概要セクションに表示されるアプリケーション (クライアント) ID の値をコピーします。この値をOAuth クライアントId として使用します。
  6. 証明書とシークレットセクションに移動して、証明書のアップロードを選択します。次に、ローカルマシンからアップロードする証明書を選択します。
  7. 有効期間を指定してクライアントシークレットを保存します。保存するとキーの値が表示されます。
  8. 値は一度しか表示されないので、コピーしておきます。この値をOAuth クライアントシークレットとして使用します。
  9. 認証タブで、必ずアクセストークン (暗黙的なフローに使用) を選択します。

AzurePassword

接続を完了する

To complete your connection:
  1. For Batch Mode, select the mode that you want to use for inserting bulk data.
    • BCP
    • COPY: Specify the following settings:
      • Azure SAS Token: Enter the string value of your Azure Blob shared access signature (SAS). To obtain this value:
        1. In the Azure portal, select Settings > Shared access signature for your Azure Blob container.
        2. Click Generate SAS token and URL and copy the value that is generated in the Blob SAS token text box. Note: Make sure that you select the proper permission (Create, Write, Delete) from the Permissions list and verify the validity of the Start and Expiry times before you generate the SAS token.
      • Storage Acount Location: Enter the storage-account location where you want to stage your data.
    • STANDARD
  2. Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)
  3. If you authenticate with AzureAD, AzureMSI, AzureServicePrincipal, AzureServicePrincipalCert, or AzurePassword, click Connect to Azure Synapse to connect to your Azure Synapse account.
  4. Click Create & Test to create your connection.

詳細について