SDK Keys¶
SDK keys are the credentials your Python code uses to authenticate with the Open Quantum platform. You create and manage them from the SDK Keys page in the portal.
Creating a Key¶
- Go to SDK Keys.
- Click Create SDK Key.
- Copy the Client ID and Client Secret immediately.
Warning
The client secret is only displayed once at creation time. Store it in a secure location (e.g., a password manager or environment variable). If you lose it, delete the key and create a new one.
You can hold up to 2 SDK keys at a time per user account. Rotate keys by deleting old keys and generating new ones.
Deleting a Key¶
First disable the key by clicking the power button next to the respective key on the SDK Keys page. Then, click the delete button. Deletion is permanent and immediate. Any code using that key will stop authenticating.
Tip
Create separate keys for different environments (development, staging, production) so you can rotate or revoke them independently.
Using Your Key in Code¶
See the Authentication page for all the ways to use SDK keys in Python: environment variables, key files, saved accounts, and more.