diff --git a/proto/keymanager/v1/keymanager.proto b/proto/keymanager/v1/keymanager.proto index 754b93d..a456a8b 100644 --- a/proto/keymanager/v1/keymanager.proto +++ b/proto/keymanager/v1/keymanager.proto @@ -38,6 +38,7 @@ message UploadKeyRequest { string agent_token = 2; string public_key = 3; string label = 4; + string private_key = 5; } message UploadKeyResponse { @@ -67,9 +68,14 @@ message ServerCommand { string command_id = 1; oneof command { GenerateKeyCmd generate_key = 2; + DeleteKeyCmd delete_key = 3; } } +message DeleteKeyCmd { + string label = 1; +} + message GenerateKeyCmd { string label = 1; string key_type = 2; // ed25519 | rsa | ecdsa (default: ed25519)