> 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 から発生し、改ざんされていないことを証明します。これは次の点で重要です：

* **本人確認：** そのコミットが実際に認可されたサービスによって行われたことを保証します。
* **信頼とセキュリティ：** 悪意ある第三者が信頼された貢献者を装う「コミット詐称」を防ぎます。
* **監査対応：** 次のようなセキュリティコンプライアンスフレームワークへの適合に役立ちます **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 キーを生成** して、固有の署名キーを作成します。
4. **GitLab に追加：**
   * Aikido が提供する公開鍵をコピーします。
   * GitLab で、 **ユーザーアイコン** を右上でクリックし、 **> プロフィールを編集 > SSH キー > 新しいキーを追加**
   * キーを貼り付けて、 **使用タイプ** が **「Authentication & Signing」**.
5. **に設定されていることを確認します：** Aikido に戻って **SSH キーを検証** をクリックし、接続が有効であることを確認します。

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

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

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