Skip to main content
Glama

overseer.secrets_template

Generate secure templates for managing secrets and credentials in repositories using env-file, vault, or AWS Secrets Manager formats.

Instructions

Creates a template structure for managing secrets and credentials securely.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_nameYesName of the repository
template_typeNoType of secrets template to createenv-file

Implementation Reference

  • The `handleSecretsTemplate` function that executes the tool logic for 'overseer.secrets_template', currently implemented as a stub for a planned feature.
    export async function handleSecretsTemplate(
      args: {
        repo_name: string;
        template_type?: 'env-file' | 'vault' | 'aws-secrets-manager';
      },
      phaseManager: PhaseManager
    ): Promise<{
      success: boolean;
      files_created: string[];
      secrets_structure: Record<string, unknown>;
      instructions: string;
    }> {
      // Note: secrets_template is a planned feature for v1.1+
      // This tool will generate secure templates for managing secrets
      
      return {
        success: true,
        files_created: [],
        secrets_structure: {},
        instructions: `Secrets template generation for ${args.template_type || 'env-file'} is planned for v1.1.0. This tool will create secure templates for managing credentials and secrets.`,
      };
    }
  • Defines the tool metadata, name, description, and input schema for 'overseer.secrets_template'.
    export function createSecretsTemplateTool(phaseManager: PhaseManager): Tool {
      return {
        name: 'overseer.secrets_template',
        description: 'Creates a template structure for managing secrets and credentials securely.',
        inputSchema: {
          type: 'object',
          required: ['repo_name'],
          properties: {
            repo_name: {
              type: 'string',
              description: 'Name of the repository',
            },
            template_type: {
              type: 'string',
              enum: ['env-file', 'vault', 'aws-secrets-manager'],
              default: 'env-file',
              description: 'Type of secrets template to create',
            },
          },
        },
      };
    }
  • Imports the tool creator and handler functions specific to overseer.secrets_template.
    import { createSecretsTemplateTool, handleSecretsTemplate } from './secrets-template.js';
  • Adds the overseer.secrets_template tool to the list of available tools in createTools.
    createSecretsTemplateTool(context.phaseManager),
  • Registers the handler dispatch for 'overseer.secrets_template' in the central handleToolCall switch statement.
    case 'overseer.secrets_template':
      return await handleSecretsTemplate(args, context.phaseManager);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freqkflag/PROJECT-OVERSEER-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server