Skip to content
Proud to collaborate with Microsoft for Startups

gcp.secretmanager.secret.delete ​

Delete a Secret Manager secret (and all versions); idempotent when already absent.

Delete a Secret Manager secret and all its versions. Idempotent when absent.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override.
secret_idstringYes—Secret Manager secret id.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project.
secret_idstringNo—Secret Manager secret id.
deletedbooleanNo—True when this run deleted the secret.
already_absentbooleanNo—True when the secret did not exist.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
deletingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutedeleting—
deletingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gcp.secretmanager.secret.delete",
  "initial_data": {
    "connection_uuid": "value",
    "secret_id": "value"
  }
}