mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 13:40:37 +00:00
split out auth info from conn info, return the jwt as the auth keys
This commit is contained in:
@@ -309,6 +309,7 @@ impl NodeInfo {
|
||||
#[cfg(any(test, feature = "testing"))]
|
||||
ComputeCredentialKeys::Password(password) => self.config.password(password),
|
||||
ComputeCredentialKeys::AuthKeys(auth_keys) => self.config.auth_keys(*auth_keys),
|
||||
ComputeCredentialKeys::Jwt(_) => panic!("unsupported keys"),
|
||||
ComputeCredentialKeys::None => &mut self.config,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user