Studio Apps
setStudioAppSecret
Set Studio App Secret
Set (create or overwrite) a Studio app secret's value: WRITE-ONLY.
Arguments
keystringrequiredSecret key, UPPER_SNAKE_CASE (e.g. ANTHROPIC_API_KEY).valuestringrequiredThe secret value to store. Consumed and encrypted immediately; never echoed back.scopestringoptionalScope. 'app' (default): scoped to one Studio app, the safe default; requires appId. 'account': a shared secret apps opt into via attachSecretToApp.appIdstringoptionalThe Studio app ID. Required when scope is 'app'.environmentstringoptionalDeploy environment. 'prod' (default): the production value; 'preview': the value injected into preview deploys. A key can hold an independent value per environment.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- set my app's STRIPE_SECRET
- store the API key for this app
Pair it with
The verbs that finish the job.