0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitHub個人アクセストークン発行手順

Posted at

はじめに

本記事はGitHubにあるリポジトリをクローンする際などに必要となる個人アクセストークンの発行手順をまとめています。

手順

①GitHubにログイン後、Settingsを押下

スクリーンショット 2025-02-27 14.43.47.png

②Developer settingsを押下

スクリーンショット 2025-02-27 14.45.03.png

③Personal access tokesのプルダウンからTokens(classic)を押下

スクリーンショット 2025-02-27 14.46.33.png

④Generate new tokenのプルダウンからGenerate new token(classic)を押下

スクリーンショット 2025-02-27 14.48.30.png

⑤必要事項入力、選択しGenerate tokenを押下

  • note: トークンを発行する経緯を記載
  • Select scopes: 必要な権限を付与

補足事項

  • 発行したトークンは一度しか表示されません
    • トークンのコピーができていなかった場合、削除し再度個人アクセストークン発行を行う
  • トークンの使用が終わったら削除推奨
  • 不要なスコープは付けず、必要最低限の権限を付与するのがセキュリティ上のベストプラクティス
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?