> 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 Cloud を接続するための設定を行う

にログインして [**Azure ポータル**](https://portal.azure.com/) に移動します **Microsoft Entra ID サービス** (以前は Azure Active Directory として知られていました)。

選択 **アプリ登録**

![](/files/fc398f53a60aedc7a73d98d5fc299f564e06c579)

わかりやすい名前をアプリケーションに付けます。この名前は後で必要になります。

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

"Register" をクリックします

![](/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)

「ロールの割り当て」タブに移動し、 **「追加」**、次に **「ロールの割り当てを追加」**.

![](/files/57117451c6e289d80868d85ad91a4c419427a3f8)

で **「ロール」**-一覧表示、検索して選択 **セキュリティ閲覧者** をクリックし **「次へ」**.

![](/files/0aecab19c73868ad0d64f87c645f112181d77350)

次の項目はそのままにします **「アクセスの割り当て先**"既定値。

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

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

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

![](/files/f84eac1dd30fa7b33c395afa51765ec4df37c943)

ロールの割り当てプロセスを次のロールについて繰り返します **Log Analytics 閲覧者**.

これで、アプリケーションにはセキュリティ スキャンを実行するために必要なロールが付与されました。これで、公開 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.
