-
Notifications
You must be signed in to change notification settings - Fork 38
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
Remove password
from ConnectionInfo
#697
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks right to me, but I think it may break on deserialization on the control plane end, so you have to carefully coordinate right correct order of merges for this one.
Good to go when you believe it's the right order of merging, i.e. issues handled control plane side, and you also make sure app and readonly users' passwords not getting sent to control plane either
@@ -59,7 +59,6 @@ pub struct ConnectionInfo { | |||
pub pooler_host: Option<String>, | |||
pub port: u16, | |||
pub user: String, | |||
pub password: String, | |||
pub app_user: String, | |||
pub app_password: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about app password?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought there is also readonly user, but I'm not sure where that info is
@@ -303,7 +303,6 @@ pub async fn get_pg_conn( | |||
pooler_host, | |||
port: 5432, | |||
user: postgres_user, | |||
password: postgres_pw, | |||
app_user, | |||
app_password: app_pw, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
No description provided.