> 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/autofix-to/configure/signed-commits.md).

# 署名付きコミット

Aikido は両方で署名付きコミットをサポートしています **GitHub** および **GitLab** コード変更の真正性を確保するためです。GitHub では設定は不要ですが、GitLab のユーザーは Aikido が提供する特定の SSH キーをプロフィールに追加する必要があります。

## なぜ署名付きコミットを使うのですか？

署名付きコミットは暗号学的な保証の層を提供し、コード変更が Aikido から発生し、改ざんされていないことを証明します。これは次の点で重要です：

* **本人確認：** そのコミットが実際に認可されたサービスによって作成されたことを保証します。
* **信頼とセキュリティ：** 悪意のある攻撃者が信頼された योगदान者になりすます「commit spoofing」を防ぎます。
* **監査対応：** 次のようなセキュリティコンプライアンスフレームワークへの適合を支援します **SOC2**, **ISO 27001**、および **HIPAA**.

## セットアップ

### GitHub

**設定は不要です。** GitHub は Aikido の連携を通じて作成されたコミットを自動的に認識し、署名します。これらは直ちに **「Verified」** バッジ付きでコミット履歴に表示されます。

<figure><img src="/files/6ad954c360cbab06e7f6936dcb347609ead98f13" alt=""><figcaption></figcaption></figure>

### GitLab

GitLab で署名付きコミットを有効にするには、 **Personal Access Token（PAT）** 認証を使用する必要があります。この機能は OAuth 経由では利用できません。

<figure><img src="/files/08893b663b37b1b80d425534ab0d0fb0defdad2e" alt=""><figcaption></figcaption></figure>

**ユーザーに関する重要な注意：** GitLab は署名付きコミットを **実ユーザーアカウント**のみサポートしており、サービスアカウントは対象外です。Aikido で使用する PAT は実ユーザーのものでなければなりません。

セットアップ手順：

1. **設定に移動：** Aikido で [**AutoFix の設定** ページ](https://app.aikido.dev/issues/fix/settings) に移動し、 **Authorize** をクリックします（初回セットアップ時）、または **Personal Access Token の管理** （トークンが既に設定されている場合）をクリックします。
2. **PAT を設定：** GitLab のユーザー設定で生成した Personal Access Token を Aikido に入力します。
3. **SSH キーを生成：** クリック **SSH キーを生成** し、Aikido 内で独自の署名キーを作成します。
4. **GitLab に追加：**
   * Aikido が提供する公開鍵をコピーします。
   * GitLab で、 **ユーザーアイコン** を右上でクリックし、 **プロフィールを編集 > SSH Keys > 新しいキーを追加**
   * に進み、キーを貼り付けて、 **使用タイプ** が **「Authentication & Signing」**.
5. **に設定されていることを確認します：** Aikido に戻って **SSH キーを検証** をクリックし、接続が有効であることを確認します。

<figure><img src="/files/136f05b580313b3668d3fe03d28459cc50fbdc35" alt=""><figcaption></figcaption></figure>

これで、 `Verified` バッジが Aikido からのコミットに表示されます：

<figure><img src="/files/b088004c1f2f5191606a444e0bfc9cc71d9be663" alt=""><figcaption></figcaption></figure>

Aikido は各アカウントごとに固有の SSH キーを作成します。この SSH キーは、 `SSH キーを削除` をクリックして新しいキーを作成することで再作成できます。


---

# 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/autofix-to/configure/signed-commits.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.
