> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Directory

CData Sync アプリケーションからGoogle Directory コネクタを使用して、Google Directory からデータを取得してサポートされている任意の同期先に移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。## Google Directory コネクタを追加Sync でGoogle Directory のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：<ol>
  <li>Sync のダッシュボードから**接続**ページを開きます。</li>
  <li>**接続を追加**をクリックして**コネクタを選択**ページを開きます。</li>
  <li>**データソース**タブをクリックして
  **Google Directory** 行に移動します。</li>

  <li>
    行末にある**接続を設定**アイコンをクリックして、**新しい接続**ページを開きます。この操作により、
    **接続を追加**ダイアログボックスが開きます。

    **Note：** **接続を設定**アイコンが表示されない場合は、**コネクタをダウンロード**アイコンをクリックして Google Directory コネクタをインストールしてください。
  </li>

  <li>**接続を追加**ダイアログボックスに接続名を入力します。</li>
  <li>**追加**をクリックして、コネクタの**設定**タブを開きます。</li>
</ol>新しいコネクタのインストールについての詳細は、
[接続](https://docs.sync.cdata.com/26.4/ja/connections/connections.md)を参照してください。## Google Directory への認証After you add the connector, you need to set the required properties.- **OAuth Client Id:** Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
- **OAuth Client Secret:** Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.CData Sync supports authenticating to Google Directory in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.- [**OAuth**](#oauth) default
- [**OAuth JWT**](#oauth-jwt)
- [**GCP Instance Account**](#gcp-instance-account)
- [**AWS Workload Identity**](#aws-workload-identity)
- [**Azure Workload Identity**](#azure-workload-identity)### OAuthCData Sync は、接続するための組み込みOAuth アプリケーションを提供します。アプリケーションを使用するには、**Auth Scheme** で**OAuth** を選択します。追加のプロパティは必要ありません。### OAuth JWT
      

Google Directory アカウントで接続するには、次のプロパティを指定します：


      \<ul><li>**Auth Scheme：****OAuthJWT** を選択。</li>
        \<li>**OAuth Client Id：**OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントId を入力。</li>
        \<li>**OAuth Client Secret：**OAuth 認証サーバーにアプリケーションを登録した際に割り当てられたクライアントシークレットを入力。</li>
        \<li>**Scope：**アプリケーションへのアクセス範囲を入力。</li>
        \<li>**OAuth JWT Cert：**Java web token（JWT）証明書ストアを入力。</li>
        \<li>**OAuth JWT Cert Type：**JWT 証明書を格納するキーストアの種類を入力。デフォルトの種類は**PEMKEY_BLOB** です。</li>
        \<li>**OAuth JWT Issuer：**Java web token の発行者を入力。通常、発行者はOAuth アプリケーションのクライアントId またはE メールアドレスです。</li>
        \<li>（オプション）**OAuth JWT Cert Subject：**OAuth JWT 証明書のサブジェクトを入力。</li>
        \<li>（オプション）**OAuth JWT Subject：**アプリケーションが委任されたアクセスを要求するユーザーサブジェクトを入力。</li>
        \<li>（オプション）**OAuth JWT Subject Type：**JWT 認証のサブジェクトの種類（**enterprise** または**user**）を選択。デフォルトの種類は**enterprise** です。</li>
        \<li>（オプション）**OAuth JWT Public Key Id：**JWT のパブリックキーのId を入力。</li></ul>
    ### GCP Instance AccountGCP 仮想マシンでCData Sync を実行すると、Sync は仮想マシンに紐づけられたサービスアカウントを使用して認証できます。そのアカウントを使用するには、**Auth Scheme** で**GCPInstanceAccount** を選択します。追加のプロパティは必要ありません。### AWS Workload IdentityAWS Workload Identity フェデレーション資格情報で接続するには、次のプロパティを設定します：<ul>
  <li>\*\*Auth Scheme：\*\***AWSWorkloadIdentity** を選択。</li>

  <li>
    \*\*AWS Workload Identity Config：\*\*以下の例のように、セミコロン区切りの`Key=Value` プロパティのリストを入力：

    `AWSWorkloadIdentityConfig="AuthScheme=AwsRootKeys;AccessKey='AKIAABCDEF123456';SecretKey=...;Region=us-east-1"`

    値を引用符で囲むかどうかは任意です。
  </li>

  <li>\*\*Workload Pool Id：\*\*Workload Identity Federation プールの識別子（Id）を入力。</li>
  <li>\*\*Workload Project Id：\*\*Workload Identity Federation プールをホストするGoogle Cloud プロジェクトのId を入力。</li>
  <li>\*\*Workload Provider Id：\*\*Workload Identity Federation プールプロバイダーのId を入力。</li>
</ul>### Azure Workload IdentityPingFederate 経由のシングルサインオンで接続するには、次のプロパティを設定します：<ul>
  <li>\*\*Auth Scheme：\*\***AzureWorkloadIdentity** を選択。</li>

  <li>
    \*\*Azure Workload Identity Config：\*\*以下の例のように、セミコロン区切りの`Key=Value` プロパティのリストを入力：

    `AzureWorkloadIdentityConfig="AuthScheme=AzureServicePrincipal;AzureTenant=directory (tenant) id;OAuthClientID=application (client) id;OAuthClientSecret=client secret;AzureResource=application id uri;"`

    値を引用符で囲むかどうかは任意です。
  </li>

  <li>\*\*Workload Pool Id：\*\*Workload Identity Federation プールの識別子（Id）を入力。</li>
  <li>\*\*Workload Project Id：\*\*Workload Identity Federation プールをホストするGoogle Cloud プロジェクトのId を入力。</li>
</ul>## 接続を完了するTo complete your connection:1) Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
2) If you authenticate with OAuth, click **Connect to Google Directory** to connect to your Google Directory account.
3) Click **Create & Test** to create your connection.## 詳細について


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.