Store an Onshape API key pair
onshape_set_api_keyStore Onshape API keys directly without a browser. Verifies the pair against Onshape before saving.
Instructions
Store an Onshape access key and secret key directly, without a browser. Use when the user already has a key pair from https://cad.onshape.com/user/developer/apiKeys. The pair is verified against Onshape before it is saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Where to keep the credential: auto (keychain, else file), keychain, or file. | |
| base_url | No | Onshape API base URL (default https://cad.onshape.com). | |
| access_key | Yes | Onshape access key. | |
| secret_key | Yes | Onshape secret key. |