Alter Private Key
Alter an existing private key object to store an authentication key.
If the private key is in use by a cluster, the cluster must be restarted for the updated key to take effect.
Syntax
alter private key <private key reference> <private key spec>
[with private key """<private key>"""]
Parameters
private key reference
String — Name of the private key to alter.
private key spec
JSON — A specification for the private key.
private key
String — The private key contents. New line and special characters are permitted here. If this field is specified, the privateKey field in private key spec can be omitted.