Skip to content

feat: add support for multiple api key to deploy workflow#55

Draft
ecPablo wants to merge 2 commits into
mainfrom
ecpablo/workflow-deploy-multi-api-key-support
Draft

feat: add support for multiple api key to deploy workflow#55
ecPablo wants to merge 2 commits into
mainfrom
ecpablo/workflow-deploy-multi-api-key-support

Conversation

@ecPablo
Copy link
Copy Markdown
Contributor

@ecPablo ecPablo commented May 14, 2026

This pull request adds support for selecting among multiple named CRE API keys when deploying a workflow, by introducing an APIKeyName field to the deployment input and updating the workflow deploy operation accordingly. It also includes new tests to verify the correct propagation and error handling for this feature. Additionally, the mcms dependency is updated to a new version.

Feature: Support for selecting named CRE API keys

  • Added an optional APIKeyName field to the CREWorkflowDeployInput struct, allowing users to specify which CRE API key to use when multiple are configured.
  • Updated the CREWorkflowDeployOp operation to use the specified APIKeyName by calling WithNamedAPIKey on the CLI runner before performing any CLI operations. The operation version was bumped to 1.1.0 to reflect this change. [1] [2] [3]

Testing: Enhanced test coverage for API key selection

  • Added tests to ensure that APIKeyName is correctly propagated through the deployment changeset and to the CLI runner, and that errors are handled when an unknown API key is specified. [1] [2]

Dependencies

  • Updated the mcms dependency from v0.41.1 to v0.42.0 in go.mod.

Go module housekeeping

  • Moved the chainlink-ton/deployment dependency to the indirect section in go.mod for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant