Skip to main content

Alter Secret Field

Update the value of a single field in the definition of a secret.

Syntax

alter secret <secret reference> set <secret field name> <value>

Parameters

secret reference

String — Name of the secret to alter.

secret field name

String — A field from the secret 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.