MCPcopy Create free account
hub / github.com/github/gh-aw / GetRequiredSecretNames

Method GetRequiredSecretNames

pkg/workflow/codex_engine.go:85–87  ·  view source on GitHub ↗

GetRequiredSecretNames returns the list of secrets required by the Codex engine This includes CODEX_API_KEY, OPENAI_API_KEY, and optionally MCP_GATEWAY_API_KEY and mcp-scripts secrets

(workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

83// GetRequiredSecretNames returns the list of secrets required by the Codex engine
84// This includes CODEX_API_KEY, OPENAI_API_KEY, and optionally MCP_GATEWAY_API_KEY and mcp-scripts secrets
85func (e *CodexEngine) GetRequiredSecretNames(workflowData *WorkflowData) []string {
86 return append([]string{"CODEX_API_KEY", "OPENAI_API_KEY"}, collectCommonMCPSecrets(workflowData)...)
87}
88
89// GetSupportedEnvVarKeys returns the engine.env variable names that the Codex engine
90// supports as defined in the AWF specification.

Callers 2

GetExecutionStepsMethod · 0.95

Calls 1

collectCommonMCPSecretsFunction · 0.85

Tested by 1