> 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 ポータル**](https://portal.azure.com/) にログインし、 **Microsoft Entra ID サービス** （以前は Azure Active Directory として知られていました）。

選択 **アプリ登録**

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-53332ba9e377b1992be07aa2b26515a9012923f8%2Fucarecdn-7272798b-6ece-4bc5-9e40-df364a5e7a1f.png?alt=media)

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

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

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

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-c57ebacda5c9c707705a273faf0d6cc031e393bc%2Fucarecdn-4690d5db-e42d-4d8d-93a0-b978333c1364.png?alt=media)

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

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-5935a87b181e820397a7e063ae13979b9fb52022%2Fucarecdn-f919c8fa-39ae-4cb0-9bec-2d25b03306b4.png?alt=media)

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

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-cdec5321abc1ef9cce6200cab6701be1b8fdcece%2Fucarecdn-5d15f5a3-597a-473f-87d0-733e9859afaa.png?alt=media)

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

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-ae12a8e94b9a2412d5f0212702fb9c70fb08ee53%2Fucarecdn-121cb5f1-e88a-4223-b42d-a4c8333dc37c.png?alt=media)

次をコピーしてください: **シークレットの値**

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-3bfeac6592f6a43974cbf9f88e3d1abf6fbc803a%2Fucarecdn-04e75758-4d58-4f1f-bacd-bac394368b76.png?alt=media)

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

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-fa792d5d0c8393c7975be56decc04d127ca41872%2Fucarecdn-ba21e769-470f-45ac-8943-e91e79e38637.png?alt=media)

Azure ポータルでアプリのセットアップが完了したら、Public API 経由で Azure Cloud を追加するために必要な値がすべて揃いました。

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

をクリックします **「アクセス制御（IAM）」**.

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-7791acf5967a0a5744954244877bb936001e7515%2Fucarecdn-4b484f3d-1809-4a49-aab8-73b3c23cdcbd.png?alt=media)

ロールの割り当てタブに移動し、 **「追加」**&#x3092;クリックし、続けて **「ロールの割り当ての追加」**.

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-916872519ec5da13f9086b2bf83f8dfaf5f00e42%2Fucarecdn-0d132105-5281-4e43-a5df-068e79afe0d1.png?alt=media)

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

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-82a3673a40308c6313f9983b0895e950176f45d9%2Fucarecdn-2db28119-d664-4080-9e28-5871d87b0111.png?alt=media)

次を **「アクセスの割り当て先」** の既定値。

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

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

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

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-a51477a198d8514a875bf40686cc16ff0446b8ff%2Fucarecdn-c423fb1d-21e0-43ed-b243-f26cf556418a.png?alt=media)

次のロールについて、ロール割り当ての手順を繰り返します **「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.
