vici: Return key ID from load-key command

We already do this for load-token and this should simplify client
implementations.
This commit is contained in:
Tobias Brunner
2017-05-23 16:41:02 +02:00
parent 6a8a44be88
commit 605a98c7ce
2 changed files with 13 additions and 4 deletions
+2 -1
View File
@@ -480,11 +480,12 @@ Load a certificate into the daemon.
Load a private key into the daemon.
{
type = <private key type, RSA|ECDSA>
type = <private key type, rsa|ecdsa|bliss|any>
data = <PEM or DER encoded key data>
} => {
success = <yes or no>
errmsg = <error string on failure>
id = <hex-encoded SHA-1 key identifier of the public key on success>
}
### unload-key() ###