mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-15 18:35:47 +00:00
feat(credential): improve credential peer routing and visibility (#1971)
- improve credential peer filtering and related route lookup behavior - expose credential peer information through CLI and API definitions - add and refine tests for credential routing and peer interactions
This commit is contained in:
@@ -372,7 +372,7 @@ enum CredentialSubCommand {
|
||||
},
|
||||
/// Revoke a credential by its ID
|
||||
Revoke {
|
||||
#[arg(help = "credential ID (public key base64)")]
|
||||
#[arg(help = "credential ID (UUID)")]
|
||||
credential_id: String,
|
||||
},
|
||||
/// List all active credentials
|
||||
@@ -1440,7 +1440,7 @@ impl CommandHandler<'_> {
|
||||
println!();
|
||||
println!("To use this credential on a new node:");
|
||||
println!(
|
||||
" easytier-core --network-name <name> --secure-mode --credential {}",
|
||||
" easytier-core --network-name <name> --secure-mode --credential {} -p <node-url>",
|
||||
response.credential_secret
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user