GetRequiredSecretNames returns the list of secrets required by the Claude engine. When Anthropic WIF (github-oidc + provider=anthropic) is configured, no static API key is needed and only common MCP secrets are returned.
(workflowData *WorkflowData)
| 61 | // When Anthropic WIF (github-oidc + provider=anthropic) is configured, no static API key |
| 62 | // is needed and only common MCP secrets are returned. |
| 63 | func (e *ClaudeEngine) GetRequiredSecretNames(workflowData *WorkflowData) []string { |
| 64 | provider := e.ResolveLLMProvider(workflowData) |
| 65 | if provider == LLMProviderAnthropic && isAnthropicWIF(workflowData) { |
| 66 | return collectCommonMCPSecrets(workflowData) |
| 67 | } |
| 68 | return append(llmProviderSecretNames(provider), collectCommonMCPSecrets(workflowData)...) |
| 69 | } |
| 70 | |
| 71 | // GetSupportedEnvVarKeys returns the engine.env variable names that the Claude engine |
| 72 | // supports as defined in the AWF specification. |