Store a secret for an app
dropyour_secret_setStore a SECRET for a graduated app (tier 4), bound to a host pattern. The value is encrypted at rest and NEVER readable back — by anyone, ever. The platform's egress membrane attaches it on outbound requests to the declared host, so your server code calls the API WITH NO KEY and never sees it. The membrane sits ABOVE the socket: it does not terminate your TLS and injects no certificate authority into your sandbox — we attach a header, we never open your connection. form says HOW it is attached: bearer (default, Authorization: Bearer), header (X-Api-Key and friends), basic (key as username), or query (?api_key=). The form belongs to the secret, not to your code — changing how an API authenticates never means editing your app. Writing an existing name rotates it. Name: UPPERCASE_WITH_DIGITS (≤32). Host: lowercase domain, leading *. wildcard allowed. Value ≤ 4096 bytes, 16 secrets per app. Requires ownership (account token or managementToken).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | No | How the key is attached at the network boundary. Default: bearer (Authorization: Bearer). Use header for X-Api-Key style APIs, basic for key-as-username, query for ?api_key=. Your code never sends the key in ANY of these forms. | |
| host | Yes | Host pattern the secret is bound to, e.g. api.stripe.com or *.example.com | |
| name | Yes | ||
| value | Yes | ||
| dropId | Yes | ||
| managementToken | No |