{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"TD Toolbelt を使用した TD の認証設定","description":"Treasure AI Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"td-toolbelt-を使用した-td-の認証設定","__idx":0},"children":["TD Toolbelt を使用した TD の認証設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TD Toolbelt をインストールした後、コマンドラインから ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td"]}," コマンドにアクセスできるようになります。次に、アカウントの認証情報を設定する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サインアップには3つの方法があります:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/tools/cli-and-sdks/configuring-authentication-for-td-using-the-td-toolbelt#password-based-authentication"},"children":["パスワードベース認証"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/tools/cli-and-sdks/configuring-authentication-for-td-using-the-td-toolbelt#setting-up-google-sso-users"},"children":["Google SSO ユーザーの設定"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/tools/cli-and-sdks/configuring-authentication-for-td-using-the-td-toolbelt#setting-up-identify-federation-users"},"children":["ID フェデレーションユーザーの設定"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サインアップ方法にかかわらず、TD Toolbelt はリクエストを認証するために Treasure API キーが必要です。この情報は将来の使用のために ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.td/td.conf"]}," ファイルに保存されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"パスワードベース認証","__idx":1},"children":["パスワードベース認証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td account"]}," コマンドでアカウント認証情報を設定できます。サインアップ時に使用したユーザー名とパスワードを使用してください:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td -e https://api.treasuredata.com account -f\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Email: user@domain.com\nPassword (typing will be hidden):\n\nAuthenticated successfully.\n"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["使用するエンドポイントは地域によって異なります。アカウントが US 地域に属していない場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/endpoints"},"children":["コマンドでエンドポイントを変更"]},"する必要があります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このコマンドは、マスター API キーで ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.td/td.conf"]}," ファイルを作成または更新します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"google-sso-ユーザーの設定","__idx":2},"children":["Google SSO ユーザーの設定"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/users/current"},"children":["Treasure コンソール"]}," から API キーを取得します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エンドポイントを設定する必要があります。 ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td server:endpoint"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/api"},"children":["コマンド"]},"を使用します。"]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["使用するエンドポイントは地域によって異なります。アカウントが US 地域に属していない場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/endpoints"},"children":["コマンドでエンドポイントを変更"]},"する必要があります。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td apikey:set <your api-key>"]}," を使用して、提供された API キーで ~/.td/td.conf ファイルを作成または更新します:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td apikey:set <your_apikey>\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"API key is set.\nUse 'td db:create <db_name>' to create a database.\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アカウントを切り替える場合は、api-key の後に ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-f"]}," を追加して強制的に切り替えます:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td apikey:set <your_apikey> -f\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"API key is set.\nUse 'td db:create <db_name>' to create a database.\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"id-フェデレーションユーザーの設定","__idx":3},"children":["ID フェデレーションユーザーの設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/tools/cli-and-sdks/configuring-authentication-for-td-using-the-td-toolbelt#setting-up-google-sso-users"},"children":["Google SSO ユーザーの設定"]},"の手順に従って API を設定できます。"]}]},"headings":[{"value":"TD Toolbelt を使用した TD の認証設定","id":"td-toolbelt-を使用した-td-の認証設定","depth":1},{"value":"パスワードベース認証","id":"パスワードベース認証","depth":2},{"value":"Google SSO ユーザーの設定","id":"google-sso-ユーザーの設定","depth":2},{"value":"ID フェデレーションユーザーの設定","id":"id-フェデレーションユーザーの設定","depth":2}],"frontmatter":{"seo":{"title":"TD Toolbelt を使用した TD の認証設定"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/tools/cli-and-sdks/configuring-authentication-for-td-using-the-td-toolbelt","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}