1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Files
docs/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app.md
Sarah Edwards 62ef608376 Best practices for GitHub Apps (#36983)
Co-authored-by: Jess Hosman <1183847+jhosman@users.noreply.github.com>
Co-authored-by: Hirsch Singhal <1666363+hpsin@users.noreply.github.com>
2023-05-24 20:16:11 +00:00

1.5 KiB

title, shortTitle, intro, versions, topics
title shortTitle intro versions topics
Generating an installation access token for a GitHub App Generate an installation access token Learn how to generate an installation access token for your {% data variables.product.prodname_github_app %}.
fpt ghes ghae ghec
* * * *
GitHub Apps

About installation access tokens

In order to authenticate as an app installation, you must generate an installation access token. For more information about authenticating as an app installation, see "Authenticating as a GitHub App installation."

{% note %}

Note: Instead of generating an installation access token, you can use {% data variables.product.company_short %}'s Octokit SDKs to authenticate as an app. The SDK will take care of generating an installation access token for you and will regenerate the token once it expires. For more information about authenticating as an app installation, see "Authenticating as a GitHub App installation."

{% endnote %}

You should keep your installation access token secure. For more information, see "AUTOTITLE."

Generating an installation access token

{% data reusables.apps.generate-installation-access-token %}