Skip to content

feature: UI should support Secrets / ConfigMaps when leading an .env file from filesystem or remote URL #336

Description

@pdettori

Feature Description

The UI has the ability to load a .env file with agent-specific env variables. However, some of these vars could be api keys or other data that we do not want to keep in a repo or set as env variable in the agent/tool pod.

Proposed Solution

Extend the .env file to allow for JSON to be set as value - this may require updates in the UI to make sure that the JSON string is correct interpreted as JSON and set as in the agent / tool template as such.

Example content for .env file:

MCP_URL=http://weather-tool:8080/mcp
SECRET_KEY='"valueFrom": {"secretKeyRef": {"name": "openai-secret", "key": "apikey"}}'

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Activity

  1. added
    enhancement
    on Oct 23, 2025
  2. added theissue type on Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions