We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--raw
-r
Currently, to fetch a specific project's SAPI token (for use in scripting), one can write:
dwave leap project token --project CODE --json | jq .token -r
and then use it like this, for example, to list available solvers:
DWAVE_API_TOKEN=$(dwave leap project token --project CODE --json | jq .token -r) dwave solvers -la
We can simplify the JSON filtering part, though, by introducing --raw/-r option that returns raw token string:
$ dwave leap project token --project CODE --raw a66...fe
Similarly for dwave auth get <token-type> command.
dwave auth get <token-type>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently, to fetch a specific project's SAPI token (for use in scripting), one can write:
and then use it like this, for example, to list available solvers:
We can simplify the JSON filtering part, though, by introducing
--raw
/-r
option that returns raw token string:Similarly for
dwave auth get <token-type>
command.The text was updated successfully, but these errors were encountered: