maton trigger destination rotate-secret

maton trigger destination rotate-secret <destination-id> --trigger <trigger-id> [flags]

Generate a new signing secret for a destination. The previous secret stops being valid immediately, so update your receiving endpoint with the new value.

Options

-q, --jq <expression>
Filter JSON output using a jq expression
--json <fields>
Output JSON with the specified fields
--template <string>
Format JSON output using a Go template; see "maton help formatting"
-t, --trigger <string>
Trigger ID this resource belongs to (required)

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

JSON Fields

signing_secret

Examples

$ maton trigger destination rotate-secret dst_123 --trigger trg_abc123
$ maton trigger destination rotate-secret dst_123 --trigger trg_abc123 --json signing_secret

See also