Skip to content
Proud to collaborate with Microsoft for Startups

gcp.secretmanager.version.add ​

Add a new version to an existing Secret Manager secret without exposing the payload.

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.
payloadstringYes—Secret payload to store.
payload_encodingstringNo—utf-8 or base64.
labelsjsonNo—Deployment metadata for audit events only.
idempotency_keystringNo—Optional caller key for duplicate suppression.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project id.
secret_idstringNo—Secret id.
version_namestringNo—Full secret version resource name.
version_idstringNo—Provider version id.
statestringNo—Provider version state.
created_atstringNo—ISO-8601 create timestamp.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer envelope.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
addingNoNo—complete—
preflightingNoNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecuteadding—
addingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.secretmanager.version.add",
  "initial_data": {
    "connection_uuid": "value",
    "secret_id": "value",
    "payload": "value"
  }
}