Set a secret
set_secretSet one organization secret, so a function can bind it by name in its manifest secrets list. Any member of the organization. Setting a name that already exists replaces the value and rotates it onto every published version that binds it. Answers the name, how many versions took the new value, and the ids of any that did not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The environment variable name the function reads, for example STRIPE_SECRET_KEY. Letters, digits and underscores. | |
| value | Yes | The value. It is sealed on write: no tool returns it, this one included, and it is never written to a log or to this app's database. Ask the person to paste it themselves rather than repeating a key from earlier in the conversation. |