Issue linking device on the authorization page via Thirdweb CLI
Encountering issues when linking a new device via the authorization page.
How to authorize your account using secretKey
for the thirdweb CLI
You can authorize the CLI with a secretKey
in just a couple of steps:
-
Get your
secretKey
Head over to the thirdweb dashboard and generate a key: https://thirdweb.com/team/~/~/. -
Deploy with your
secretKey
Run the following command:npx thirdweb deploy -k secretKey
-
Use the same pattern for other commands
You can also use other methods likeupload
,publish
, andbuild
using the same format:npx thirdweb upload -k secretKey
npx thirdweb publish -k secretKey
npx thirdweb build -k secretKey
That’s it! The CLI will now use your secretKey
to authenticate every command.