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

Improve sharing of variables #1107

Open
joelwiesmann opened this issue Feb 9, 2023 · 0 comments
Open

Improve sharing of variables #1107

joelwiesmann opened this issue Feb 9, 2023 · 0 comments
Labels
feature request New issue opened using "Feature request" template

Comments

@joelwiesmann
Copy link

joelwiesmann commented Feb 9, 2023

Is your feature request related to a problem? Please describe.
We share the SQL code with several team members via Git. Since the code is to be executed in several environments, variables are used that are to be resolved differently depending on the runtime environment.

Currently, the variables are stored as part of the connection. Connections cannot be shared in the team because the security policy requires team members to log in with personal users. The problem here is that for SQLTools connections, the user name is a must field. If we share connection information without username configuration, a username "" is assumed and only the password is prompted.

If we cannot share the connections (or variables), users have to constantly update them by hand.

Describe the solution you'd like
Allow connection profiles to be created without user names. If a connection is started without a user name, this would then be requested interactively. This would allow connection profiles to be shared with variables without credentials.

Describe alternatives you've considered
Read variables not (only) from connection profiles, but also from environment variables. For example, with a syntax like

$[env:ENVIRONMENT]

or

${ENVIRONMENT}

This would make the variables feature immensely more flexible.

Additional context
Variables feature #1064

@joelwiesmann joelwiesmann added the feature request New issue opened using "Feature request" template label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template
Projects
None yet
Development

No branches or pull requests

1 participant