Studio Apps
rotateStudioAppSecret
Rotate Studio App Secret
Rotate a Studio app secret: replace its value with a new one.
Arguments
keystringrequiredSecret key to rotate (UPPER_SNAKE_CASE).valuestringrequiredThe new secret value. Consumed and encrypted; never echoed.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.
- rotate my app's STRIPE_SECRET
- replace the key
Pair it with
The verbs that finish the job.