aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/api_server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-17 19:02:13 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-17 19:02:13 +0200
commitdcfa408887b588e9f9eee608c1358a5a81330e9e (patch)
tree168f66fe25786df731aa2bbf32d1d8f3b683bcdb /src/api/admin/api_server.rs
parent70383b4363c9d9d1ddebcb29c60f833022e97d24 (diff)
downloadgarage-dcfa408887b588e9f9eee608c1358a5a81330e9e.tar.gz
garage-dcfa408887b588e9f9eee608c1358a5a81330e9e.zip
Implement ImportKey
Diffstat (limited to 'src/api/admin/api_server.rs')
-rw-r--r--src/api/admin/api_server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/admin/api_server.rs b/src/api/admin/api_server.rs
index 61b0d24f..a0af9bd9 100644
--- a/src/api/admin/api_server.rs
+++ b/src/api/admin/api_server.rs
@@ -136,6 +136,7 @@ impl ApiHandler for AdminApiServer {
handle_get_key_info(&self.garage, id, search).await
}
Endpoint::CreateKey => handle_create_key(&self.garage, req).await,
+ Endpoint::ImportKey => handle_import_key(&self.garage, req).await,
Endpoint::UpdateKey { id } => handle_update_key(&self.garage, id, req).await,
Endpoint::DeleteKey { id } => handle_delete_key(&self.garage, id).await,
// Buckets