Confirm a signing secret rotation Beta
This endpoint is in beta. Its request and response may change.
Retires the previous signing secret, so only the new one is accepted. Call it once the app signs with the new secret. Pass signing_secret_rotation_id from the latest set or get response, so you confirm the rotation you checked. With no rotation in progress, the call succeeds and changes nothing.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Path parameters
connection_idstringrequiredBody
signing_secret_rotation_idstringscalekit_client.actions.triggers.confirm_signing_secret_rotation
Finish a signing-secret rotation so only the new secret is accepted.
scalekit_client.actions.triggers.confirm_signing_secret_rotation( connection_id: str, signing_secret_rotation_id: int | None = None,) -> TriggerIngressEndpointParameters
connection_idstrrequiredconn_...).signing_secret_rotation_idint | NoneTriggerIngressEndpoint.signing_secret_rotation_id of the rotation to confirm. Required while a rotation is in progress; ignored when none is.Returns TriggerIngressEndpoint: The endpoint after the confirmation.
From scalekit-sdk-python 2.23.0.
Response 200
connection_idstringidstringmasked_signing_secretstringprevious_signing_secret_expires_atstringrotation_in_progressbooleansigning_secret_configuredbooleansigning_secret_rotation_idstringurlstringErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - connection_id is not a valid connection ID, or a rotation is in progress and signing_secret_rotation_id is missing or does not match it, for example because a newer rotation has started. The message names the current rotation ID; read the endpoint again with Get a webhook URL before confirming404Not found - no webhook URL has been created for this connection yet (error_code TRIGGER_INGRESS_ENDPOINT_NOT_CREATED; call Create a webhook URL first), the connection does not exist in this environment (error_code RESOURCE_NOT_FOUND), or Triggers isn't turned on for your environment (error_code RESOURCE_NOT_FOUND)500Internal error - the rotation could not be confirmed; retry the request