> 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).

# Azureクラウドを公開API経由で接続するために必要な値を取得し、構成を設定する

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

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

![](/files/fc398f53a60aedc7a73d98d5fc299f564e06c579)

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

「Supported account types」の既定値はそのままにします: 「この組織ディレクトリ内のアカウントのみ」。

「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)

で **「ロール」**&#x4E00;覧で検索して選択します **「Security Reader」** そしてクリック **「次へ」**.

![](/files/0aecab19c73868ad0d64f87c645f112181d77350)

そのままにしておいてください **アクセス権を割り当てる**「既定値。

をクリック **「メンバーの選択」**、作成したアプリ登録（例: 「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.
