Skip to main content

このバージョンの GitHub Enterprise サーバーはこの日付をもって終了となります: 2026-03-17. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの向上、新機能の向上を図るために、最新バージョンの GitHub Enterprise サーバーにアップグレードしてください。 アップグレードに関するヘルプについては、GitHub Enterprise サポートにお問い合わせください

GitHub シークレットの種類

GitHub で使用されるさまざまな種類のシークレットについて説明します。

GitHub secrets are used to securely store sensitive information like API keys, tokens, and passwords in repositories.

When you store the sensitive information as a GitHub secret, you remove the need to hardcode the credential or key, and prevent exposure of it in your code or logs. The secret can then be used to authenticate services, manage credentials, and securely pass sensitive data in workflows.

There are two types of secrets used by GitHub:

  • Dependabot secrets
  • Actions secrets

Depending on the GitHub secret type, you can create and manage secrets under your repository, organization, or personal account security settings page.

For information on the usage, scope, permissions, and limitations of each secret type, see Understanding GitHub secret types.