The getSecurityObjects API can also be used to lookup keys by name. The first parameter of this method restricts the returned value to only the Security-object with the requested name.
List sobjects = sobjectsApi.getSecurityObjects("example-key", null, null, null);
KeyObject matched = sobjects.get(0); // Max 1 object will be there in the result list
A security object is any datum stored in DSM (for example a key, a certificate, a password, or other security objects). Each security object is assigned to exactly one group. users and applications assigned to the group have permission to see the security object and to perform operations on it.