ALTER SECRET
The ALTER SECRET statement modifies an existing secret.
Syntax
ALTER SECRET secret_name
WITH (option = value[, ...])
secret_name— the name of the secret to modify.option— command option:value— string with the secret value.
Permissions
Modifying a secret requires the right ALTER SCHEMA.
Examples
Change the value of secret secret_name to secret_value_new:
ALTER SECRET secret_name WITH (value = "secret_value_new");
See also
Was the article helpful?
Previous
Next