fixup: bring back the SK peer jwt token

This commit is contained in:
Vlad Lazar
2025-07-24 13:31:07 +01:00
parent 10da740e65
commit 00699d86a2
+9
View File
@@ -210,6 +210,15 @@ impl SafekeeperNode {
"--http-auth-public-key-path".to_owned(),
key_path_string.clone(),
]);
let token_path = self.datadir_path().join("peer_jwt_token");
let token_path_str = token_path
.to_str()
.with_context(|| {
format!("Token path {token_path:?} cannot be represented as a unicode string")
})?
.to_owned();
args.extend(["--auth-token-path".to_owned(), token_path_str]);
}
if let Some(https_port) = self.conf.https_port {