disentangle_secrets
Remove quantum entanglement between two secrets to stop their synchronization during rotation in the qring-mcp secret manager.
Instructions
Remove a quantum entanglement between two secrets. They will no longer synchronize on rotation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceKey | Yes | Source secret key | |
| targetKey | Yes | Target secret key | |
| sourceScope | No | Scope: global or project | global |
| targetScope | No | Scope: global or project | global |
| sourceProjectPath | No | ||
| targetProjectPath | No |
Implementation Reference
- src/mcp/server.ts:594-622 (handler)Handler for the 'disentangle_secrets' tool in the MCP server, which takes two keys and their respective scopes and projects, then calls the core 'disentangleSecrets' function.
"disentangle_secrets", "Remove a quantum entanglement between two secrets. They will no longer synchronize on rotation.", { sourceKey: z.string().describe("Source secret key"), targetKey: z.string().describe("Target secret key"), sourceScope: scopeSchema.default("global"), targetScope: scopeSchema.default("global"), sourceProjectPath: z.string().optional(), targetProjectPath: z.string().optional(), }, async (params) => { disentangleSecrets( params.sourceKey, { scope: params.sourceScope as Scope, projectPath: params.sourceProjectPath ?? process.cwd(), source: "mcp", }, params.targetKey, { scope: params.targetScope as Scope, projectPath: params.targetProjectPath ?? process.cwd(), source: "mcp", }, ); return text(`Disentangled: ${params.sourceKey} </> ${params.targetKey}`); }, ); - src/mcp/server.ts:594-622 (registration)Registration of the 'disentangle_secrets' tool within the McpServer.
"disentangle_secrets", "Remove a quantum entanglement between two secrets. They will no longer synchronize on rotation.", { sourceKey: z.string().describe("Source secret key"), targetKey: z.string().describe("Target secret key"), sourceScope: scopeSchema.default("global"), targetScope: scopeSchema.default("global"), sourceProjectPath: z.string().optional(), targetProjectPath: z.string().optional(), }, async (params) => { disentangleSecrets( params.sourceKey, { scope: params.sourceScope as Scope, projectPath: params.sourceProjectPath ?? process.cwd(), source: "mcp", }, params.targetKey, { scope: params.targetScope as Scope, projectPath: params.targetProjectPath ?? process.cwd(), source: "mcp", }, ); return text(`Disentangled: ${params.sourceKey} </> ${params.targetKey}`); }, );