REST API authentication docs are misleading about API keys vs tokens

オープン
#5,281 コメント 0 件 リアクション 0 件 担当者 3 名 GitHub で見る

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

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

2026年10月5日 から。

評価

この issue はまだ評価されていません。

説明

content 📄
URL to the relevant guide or resource

https://quantum.cloud.ibm.com/docs/en/guides/cloud-setup-rest-api
https://quantum.cloud.ibm.com/docs/en/guides/cloud-setup-untrusted

Select all that apply
  • new content request
  • typo
  • code bug
  • out-of-date content
  • broken link
  • other
Describe the fix or the content request.

The docs are confusing because we're switching between the word "API key" and "token". They are two different concepts:

  • API Key is what you get from IQP and usually set in an env var. It is not a "token".
  • Token is the "Authorization bearer token". You get it by using an IBM API to exchange your API key for a token. The token is short-lived and more secure.

In the env var, we suggest that you send your API key to IQP, but really we should be sending the Auth bearer token.

For new content requests - if the request is accepted, do you want to write the content?

I will write (or already have written) a draft of the proposed content

主要言語
Jupyter Notebook
スター
111
フォーク
247
平均マージ
1日 1時間
マージ済み PR(30日)
96

環境構築

はじめの一歩

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

Qiskit/documentation のほかの issue

Qiskit/documentation の issue をすべて見る

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

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