Skip to main content

Alter Private Key Field

Update the value of a single field in the definition of a private key.

Syntax

alter private key <private key reference> set <private key field name> <value>

Parameters

private key reference

String — Name of the private key to alter.

private key field name

String — A field from the private key specification. Nested fields can be set using dot notation, and field names are matched case-insensitively.

value

String, Number, Boolean, JSON, or List — The new value for the field. Strings must be quoted. Use none to clear a field that is optional in the specification.

The key material itself is set with Alter Private Key, which accepts a multi-line value.