syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/error.proto"; import "onprem/user/v1/ssh_key.proto"; message SshKeyFilter { optional string created_by_user_id = 1; } message CreateSshKeyRequest { SshKey ssh_key = 1; } message CreateSshKeyResponse { SshKey ssh_key = 1; } message DeleteSshKeyRequest { string id = 1; } message DeleteSshKeyResponse { } message FindSshKeyRequest { string id = 1; } message FindSshKeyResponse { SshKey ssh_key = 1; } message FindSshKeysRequest { SshKeyFilter filter = 1; } message FindSshKeysResponse { repeated SshKey ssh_keys = 1; } message ValidateSshKeyRequest { SshKey ssh_key = 1; } message ValidateSshKeyResponse { repeated ErrorObject errors = 1; }