Codespaces user secrets guide describes logout behavior from older GitHub CLI versions

オープン 初心者向け
#47,156 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Jostar2 がすでに取り組んでいます。

2026年12月2日 から。

  • #47157 @Jostar2 による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown
領域
documentation

調査の方向性

影響を受ける Codespaces のアカウント固有のシークレットに関するガイドから、ログアウトの手順を探します。新しいトークン失効と資格情報の削除動作については GitHub CLI 2.106.0 のリリースノートを、古い動作についてはリンクされている 2.105.0 のログアウト実装を資料にします。完了とは、ガイドが GitHub CLI 2.106.0 以降とそれ以前のバージョンを明確に区別し、トークンを個別に失効させる必要がある場合を説明ことをachiebertすことです。

索引モデルが issue の本文から書いたものです。

説明

triage
Code of Conduct
What article on docs.github.com is affected?

Managing your account-specific secrets for GitHub Codespaces

What part(s) of the article would you like to see updated?

In the steps for managing secrets from inside a codespace, the article says that signing out leaves a copied OAuth token usable and leaves any credentials saved by a Git credential helper in place.

Starting in GitHub CLI 2.106.0, a successful default logout revokes the OAuth token issued for the web sign-in in these instructions. Copies of that token stop working. The CLI also asks the helper to remove saved HTTPS credentials for the host. The guide should distinguish these behaviors from earlier versions so users can tell when they need to revoke a token separately.

Additional information

The behavior change is documented in the 2.106.0 release notes. The 2.105.0 logout command describes the older behavior.

主要言語
TypeScript
スター
21.6k
フォーク
69.7k
平均マージ
8時間 11分
マージ済み PR(30日)
100

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/docs のほかの issue

github/docs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。