# GitHub App による認証

GitHub Apps で認証する方法について説明します。

## Links

* [GitHub アプリでの認証について](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app)

  GitHub Appは、それ自体として、アプリのインストールとして、またはユーザーの代わりに認証できます。

* [GitHub アプリとしての認証](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app)

  インストール アクセス トークンを生成したり、アプリを管理したりするために、GitHub App として認証できます。

* [GitHub App インストールとしての認証](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation)

  GitHub Appをインストールとして認証し、アプリがインストールされているアカウントが所有するリソースに影響する API 要求を行うことができます。

* [ユーザーに代わってGitHub アプリで認証する](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user)

  GitHub App は、issue の作成、コメントの投稿、デプロイの作成などのアクションをユーザーの代わりに実行できます。

* [GitHub アプリの秘密キーの管理](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/managing-private-keys-for-github-apps)

  秘密キーを管理して、 GitHub Appで認証できます。

* [GitHub アプリの JSON Web トークン (JWT) の生成](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app)

  GitHub App を使用して特定の REST API エンドポイントに対して認証する JSON Web トークン (JWT) を作成する方法について説明します。

* [GitHub アプリのインストール アクセス トークンの生成](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app)

  GitHub Appのインストール アクセス トークンを生成する方法について説明します。

* [GitHub アプリのユーザー アクセス トークンの生成](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app)

  アプリ アクティビティをユーザーに属性付けするために、 GitHub App のユーザー アクセス トークンを生成できます。

* [ユーザー アクセス トークンを更新する](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens)

  定期的なトークン ローテーションを適用し、侵害されたトークンの影響を軽減するには、有効期限が切れたユーザー アクセス トークンを使用するように GitHub App を構成します。

* [GitHub Actions ワークフローでGitHub アプリを使用して認証済み API 要求を作成する](/ja/enterprise-server@3.22/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow)

  GitHub Appからのインストール アクセス トークンを使用して、GitHub Actions ワークフローで認証された API 要求を行うことができます。 トークンをカスタム アクションに渡して、アクションで認証済み API 要求を行えるようにすることもできます。