Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve system properties/environment variables while browsing the application.properties values #1331

Open
gastaldi opened this issue May 14, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@gastaldi
Copy link
Contributor

It would be nice if the current System properties (eg. user.name) is resolved while browsing the application.properties values:

image

@fbricon fbricon added the enhancement New feature or request label May 14, 2024
@angelozerr
Copy link

@gastaldi and what about completion on properties/environment variables?

@fbricon
Copy link
Contributor

fbricon commented May 14, 2024

@gastaldi is it a quarkus specific feature or also supported in microprofile configs?

@gastaldi
Copy link
Contributor Author

@fbricon yes, it is supported in MP Config

@fbricon
Copy link
Contributor

fbricon commented May 14, 2024

should we also get environment variables?

@gastaldi
Copy link
Contributor Author

Probably yes, I am not sure how would that affect security-wise (eg. while doing presentations and your API key defined in an env var is displayed in the screen)

@fbricon
Copy link
Contributor

fbricon commented May 14, 2024

we can maybe obfuscate *_KEY env vars

@fbricon
Copy link
Contributor

fbricon commented May 14, 2024

I've got the beginning of something ;-)
Screenshot 2024-05-14 at 19 19 08

but validation and completion still don't work

@gastaldi
Copy link
Contributor Author

gastaldi commented May 14, 2024

we can maybe obfuscate *_KEY env vars

Yeah, and *_SECRET and PASSWORD too perhaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants