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:
@@ -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() ###
|
||||
|
||||
Reference in New Issue
Block a user