ensure_sdk_key
Create a Gamebeast SDK key (a public key for the game client or server SDK) for this project and environment, and get it back once. Only call this after searching the repo and environment for an existing key (.env files, secret or config modules, an existing Gamebeast:Setup / GamebeastSdk.Setup call) and finding none. The result says where the key must be stored for this platform — on Roblox, server-side only. Never print the key in chat or commit it to a public repository. A second call within a few minutes is refused, since the key is shown only once. Explain why a key is needed in reason; it is recorded on the key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Key name suffix shown in the dashboard, e.g. the repo name. | |
| reason | Yes | Why a key is needed, e.g. 'No Gamebeast key in the repo or environment'. | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. |