settings.json

gcpAuthRefresh

GCP認証情報の期限切れやロード失敗時に、認証を更新するために実行するコマンドを指定します。

使い方・用途

  • Google Cloud(Vertex AI等)を利用する際、ブラウザベースの認証フロー(gcloud auth等)を自動的にトリガーして認証を継続させたい場合に使用します。
  • コマンドの出力はユーザーに表示されますが、対話的な入力はサポートされません。
  • コマンドは3分以内に完了する必要があります。
英語原文(公式ドキュメントより)

Command to run when GCP credentials are expired or cannot be loaded. The command's output is displayed to the user but interactive input is not supported; it times out after three minutes. See https://code.claude.com/docs/en/google-vertex-ai#advanced-credential-configuration