ALTER SECRET

ALTER SECRET changes the contents of a secret. To rename a secret, see ALTER...RENAME.

Syntax

ALTER SECRET IF EXISTS name AS value
Field Use
name The identifier of the secret you want to alter.
value The new value for the secret. The value expression may not reference any relations, and must be implicitly castable to bytea.

Examples

ALTER SECRET upstash_kafka_ca_cert AS decode('c2VjcmV0Cg==', 'base64');
Back to top ↑