Can we support to configure environment variables (normal string env var, secret and even tools/document reference) for all kinds of application #5754

Closed
opened 2026-02-21 18:12:26 -05:00 by yindo · 0 comments
Owner

Originally created by @Colstuwjx on GitHub (Sep 23, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

It's a great feature that we can define some variables on workflow type app, see figure below:
截屏2024-09-23 13 51 57

However, it has some pain points based on my personal perspective:

  1. ONLY support to do so for workflow type app rather than all kinds of application;
  2. ONLY support to configure simple string env var and secret rather than defining reference objects, such as tools / knowledge base document etc

Is it possible to implement these two features in the future version ?

2. Additional context or comments

Without supporting env vars / secrets on app, it would be hard to sync the code changes from QA environment to PROD environment since it might be two individual dify site and it would be potential risky to make this kind of change.

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @Colstuwjx on GitHub (Sep 23, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. It's a great feature that we can define some variables on workflow type app, see figure below: <img width="431" alt="截屏2024-09-23 13 51 57" src="https://github.com/user-attachments/assets/66e0bb76-cc9c-49f0-9c3f-7cc7c09dd27f"> However, it has some pain points based on my personal perspective: 1. ONLY support to do so for workflow type app rather than all kinds of application; 2. ONLY support to configure simple string env var and secret rather than defining reference objects, such as tools / knowledge base document etc Is it possible to implement these two features in the future version ? ### 2. Additional context or comments Without supporting env vars / secrets on app, it would be hard to sync the code changes from QA environment to PROD environment since it might be two individual dify site and it would be potential risky to make this kind of change. ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:12:26 -05:00
yindo closed this issue 2026-02-21 18:12:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5754