8000 [ENHANCEMENT] Add a new key password_file in the sql config by Nexucis · Pull Request #1371 · perses/perses · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ENHANCEMENT] Add a new key password_file in the sql config #1371

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

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

Nexucis
Copy link
Member
@Nexucis Nexucis commented Aug 21, 2023

This PR is adding a new key password_file in the backend config so we can read a file that contains the password for the sql config.

This is part of the issue #1368

/cc @nicolastakashi

@@ -49,6 +50,8 @@ type SQL struct {
User config.Secret `json:"user,omitempty" yaml:"user,omitempty"`
// Password (requires User)
Password config.Secret `json:"password,omitempty" yaml:"password,omitempty"`
// PasswordFile is a path to a file that contains a password
PasswordFile string `json:"password_file" yaml:"password_file"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's missing omitempty, no?

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
@Nexucis Nexucis force-pushed the nexucis/file_password branch from 48c853d to e4b72bb Compare August 21, 2023 09:15
Copy link
Member
@celian-garcia celian-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks

@Nexucis Nexucis enabled auto-merge (squash) August 21, 2023 09:19
@Nexucis Nexucis merged commit c0b8def into main Aug 21, 2023
@Nexucis Nexucis deleted the nexucis/file_password branch August 21, 2023 09:34
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.

4 participants
0