> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/kuraudosukyan/connect-your-cloud/azure/get-required-values-set-up-configuration-to-connect-azure-cloud-via-public-api.md).

# 必要な値を取得 + 公開 API 経由で Azure クラウドを接続するための設定

お使いの [**Azure Portal**](https://portal.azure.com/) に移動し、 **Microsoft Entra ID サービス** （以前は Azure Active Directory として知られていました。）

次を選択します **アプリの登録**

![](/files/fc398f53a60aedc7a73d98d5fc299f564e06c579)

アプリケーションに意味のある名前を付けます。この名前は後で必要になります。

「サポートされているアカウントの種類」の既定値は「この組織ディレクトリ内のアカウントのみ」のままにしてください。

「登録」をクリックします

![](/files/e5c9c14a0893844d7cd980fa7b10bfb08ae723db)

新しく作成されたアプリケーションの詳細ページにリダイレクトされます。ここで次を見つけてコピーできます: **アプリケーション (クライアント) ID** および **ディレクトリ (テナント) ID**

![](/files/ceb81e2a911c31c481c6a766e236b27e22ad739b)

クライアント資格情報の欄で、「証明書またはシークレットを追加」をクリックします

![](/files/cb0cf8546780e33ceeb75a282b4f8dcf18565793)

「新しいクライアント シークレット」ボタンをクリックし、シークレットの説明を入力して、有効期限を 2 年（730 日 / 24 か月）に設定します

![](/files/f2a44b8987650f0d154b12f44ac862be03925802)

次をコピーします **シークレットの値**

![](/files/25748f615ff0045f6df084cc72c89f9493846f91)

サブスクリプションに移動し、コピーします **サブスクリプション ID** 該当するサブスクリプションの。

![](/files/bee09692576966c263aa607899ffcee1d8558f6f)

Azure ポータルでアプリケーションの設定が完了すれば、Public API を介して Azure Cloud を追加するために必要な値はすべて揃いました。

サブスクリプションの詳細ページに移動します。ここで、必要なロールへのアクセス権を付与する必要があります。

次をクリックします **「アクセス制御 (IAM)」**.

![](/files/fc6689d1c37232a0871e42984cb732f4fb018c72)

ロールの割り当てタブに移動し、次をクリックします **「追加」**&#x3092;クリックし、その後 **「ロールの割り当てを追加」**.

![](/files/57117451c6e289d80868d85ad91a4c419427a3f8)

で **「ロール」**-一覧表示し、検索して選択します **「Security Reader」** & をクリック **「次へ」**.

![](/files/0aecab19c73868ad0d64f87c645f112181d77350)

次の **"アクセス権を割り当てる**"既定値。

次をクリックします **「メンバーの選択」**&#x3092;クリックし、作成したアプリの登録名（例: 「AikidoSecurity」）を検索して選択します。

クリック **「選択」**

クリック **「確認 + 割り当て」** を2回

![](/files/f84eac1dd30fa7b33c395afa51765ec4df37c943)

次のロールについて、ロールの割り当て手順を繰り返します **「Log Analytics Reader」**.

これで、アプリケーションにはセキュリティスキャンを実行するために必要なロールが付与されました。これで、公開 API を使用してこのクラウドを追加できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/kuraudosukyan/connect-your-cloud/azure/get-required-values-set-up-configuration-to-connect-azure-cloud-via-public-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
