Skip to content

Commit

Permalink
clarify refresh token language
Browse files Browse the repository at this point in the history
  • Loading branch information
abbycross committed Nov 27, 2024
1 parent ee626fe commit 57dbf4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/guides/functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@
" ```python\n",
" from qiskit-ibm-catalog import QiskitFunctionsCatalog\n",
"\n",
" # Refresh your API token on the dashboard after using the code as follows:\n",
" # After using the following code, go to your dashboard (https://quantum.ibm.com/)\n",
" # and rotate your API token (click the refresh button in the API token field) \n",
" catalog = QiskitFunctionsCatalog(token=\"<MY_IBM_QUANTUM_TOKEN>\")\n",
" ```\n",
" </details>"
Expand All @@ -127,7 +128,7 @@
"metadata": {},
"source": [
" <Admonition type=\"caution\">\n",
" When sharing code with others, ensure that your API token is not embedded directly within the Python script. Instead, share the script without the token and provide instructions for securely setting it up.\n",
" **Protect your API token!** Never include your token in source code, Python script, or notebook file. When sharing code with others, ensure that your API token is not embedded directly within the Python script. Instead, share the script without the token and provide instructions for securely setting it up.\n",
" </Admonition>"
]
},
Expand Down

0 comments on commit 57dbf4f

Please sign in to comment.