ReferenceCommandsAdvancedAlter SecretOn this pageAlter Secret Update the definition of a secret. Syntax alter secret <secret reference> <secret spec> Parameters secret reference String — Name of the secret to alter. secret spec JSON — New definition for the secret. Security Write permission is required on the secret.