---
schema_version: "1"
id: 879d6093ebe51ecebc915f1d83f4971571c862dbd23a3fe1fe3396d5dd0f1363
title: 接続アプリケーションの設定
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/object-store/osv2-connected-apps.md
canonical_url: https://docs.mulesoft.com/jp/object-store/osv2-connected-apps
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b6a0cc2c48d2b13c3a4938ad1d69b1630930074570914b764281353d1314afb9
description: MuleSoft Documentation Site
latest: true
---
# 接続アプリケーションの設定

接続アプリケーション機能により、ユーザーログイン情報を共有することなく外部アプリケーションにアクセスできるようにすることで、これらのアプリケーションを Anypoint Platform と統合できます。

接続アプリケーションについての詳細は、​[接続アプリケーション](https://docs.mulesoft.com/jp/access-management/connected-apps-overview) and [開発者向けの接続アプリケーション](https://docs.mulesoft.com/jp/access-management/connected-apps-developers)​ を参照してください。

## [](#configure-os-conn-app)\[Access Management (アクセス管理)\] で接続アプリケーションを設定する

オブジェクトストアスコープを使用して接続アプリケーションを作成する手順は、次のとおりです。

1. Anypoint Platform にログインし、​**\[Access Management (アクセス管理)\]**​ を選択します。
2. \[Access Management (アクセス管理)\] ナビゲーションメニューで、​**\[Connected Apps (接続アプリケーション)\]**​ をクリックします。
3. **\[Create App (アプリケーションを作成)\]**​ をクリックします。
    
    1. アプリケーションの名前を指定します。
    2. **\[App acts on its own behalf (client credentials) (アプリケーションが自身のために行動する (クライアントログイン情報))\]**​ を選択します。
    3. **\[Add Scopes (スコープを追加)\]**​ をクリックします。
    4. 適用するオブジェクトストアスコープを選択します。
        
        ![オブジェクトストア接続アプリケーションのスコープ](/mulesoft/current/ja-jp/object-store/_images/os-conn-apps-scopes.png)
    5. **\[Next (次へ)\]**​ をクリックして、スコープを適用するビジネスグループと環境を選択します。
    6. **\[Review (確認)\]**​ をクリックします。
    7. **\[Add scopes (スコープを追加)\]**​ をクリックするか、変更内容をキャンセルするには ​**\[Cancel (キャンセル)\]**​ をクリックします。
4. **\[Save (保存)\]**​ をクリックするか、変更内容をキャンセルするには ​**\[Cancel (キャンセル)\]**​ をクリックします。
5. **\[Connected Apps (接続アプリケーション)\]**​ ページで、今作成したアプリケーションの ​**\[Copy Id (ID をコピー)\]**​ と ​**\[Copy Secret (シークレットをコピー)\]**​ をクリックします。
    
    このクライアント ID とクライアントシークレットを使用して、Object Store v2 API を使用した認証に必要なアクセストークンを取得します。
    
    接続アプリケーションのアクセストークンの取得についての詳細は、​[「OIDC エンドポイントとトークン」](https://docs.mulesoft.com/jp/access-management/connected-apps-developers#oidc-endpoints-and-tokens)​を参照してください。

## [](#configure-mq-conn-app-api)API を使用した接続アプリケーションの設定

API を使用した接続アプリケーションの設定についての詳細は、 [「How to create connected apps using the API (API を使用した接続アプリケーションの作成方法)」](https://help.mulesoft.com/s/article/How-to-create-connected-apps-creation-using-API)​を参照してください。

### [](#osv2-scopes)オブジェクトストアスコープ

オブジェクトストアスコープは、指定した組織および環境のすべてのストアに適用されます。 特に記載がない限り、これらのスコープはオブジェクトストアと Object Store v2 オブジェクトストアの両方に適用されます。

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 20%;">
<col style="width: 20%;">
<col style="width: 60%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">UI のスコープ</th>
<th class="tableblock halign-left valign-top">API のスコープ</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Manage stores (ストアを管理)</strong></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>manage:store</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>ストアを作成、参照、更新、削除する。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Manage stores data (ストアデータを管理)</strong></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>manage:store_data</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>データ、パーティション、確認 API を含むすべてのストア操作を実行する。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>View stores (ストアを表示)</strong></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>read:store</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>ストアの詳細を参照する。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Manage store clients (ストアのクライアントを管理)</strong>​ (オブジェクトストアのみ)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">なし</p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>クラウドストアのすべてのクライアントを管理する。</p>
</div>
<div class="paragraph">
<p>このスコープは Object Store v2 には適用されません。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>View store clients (ストアのクライアントを表示)</strong>​ (オブジェクトストアのみ)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">なし</p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>クラウドストアのすべてのクライアントを表示する。</p>
</div>
<div class="paragraph">
<p>このスコープは Object Store v2 には適用されません。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Store Metrics Viewer (ストアメトリクス閲覧者)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>read:store_metrics</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>Object Store v2 Stats API を使用して Object Store v2 メトリクスを取得する。</p>
</div></div></td>
</tr>
</tbody>
</table>