doppler_secrets_set
Set secret values in Doppler for secure configuration management. Specify secret name, value, and optionally project and config to store sensitive data.
Instructions
Set a secret value in Doppler
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the secret to set | |
| value | Yes | The value to set for the secret | |
| project | No | The Doppler project name (optional if set via doppler setup) | |
| config | No | The Doppler config name (optional if set via doppler setup) |
Implementation Reference
- src/doppler.ts:65-70 (handler)Specific handler logic in buildDopplerCommand function that constructs the 'doppler secrets set' CLI command with name=value and optional flags.case "doppler_secrets_set": parts.push("secrets", "set", `${getString("name")}=${getString("value")}`); if (getString("project")) parts.push("--project", getString("project")!); if (getString("config")) parts.push("--config", getString("config")!); parts.push("--json"); break;
- src/tools.ts:43-68 (schema)Input schema definition for the doppler_secrets_set tool, specifying parameters and requirements.{ name: "doppler_secrets_set", description: "Set a secret value in Doppler", inputSchema: { type: "object", properties: { name: { type: "string", description: "The name of the secret to set", }, value: { type: "string", description: "The value to set for the secret", }, project: { type: "string", description: "The Doppler project name (optional if set via doppler setup)", }, config: { type: "string", description: "The Doppler config name (optional if set via doppler setup)", }, }, required: ["name", "value"], }, },
- src/index.ts:27-31 (registration)Registers the doppler_secrets_set tool (among others) by including it in the toolDefinitions returned for ListToolsRequest.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: toolDefinitions, }; });