Skip to content
Proud to collaborate with Microsoft for Startups

gcp.secretmanager.create_secret ​

[DEPRECATED — use gcp.secretmanager.secret.ensure] Create or resolve a GCP Secret Manager secret

[DEPRECATED — use gcp.secretmanager.secret.ensure] Creates (or resolves) a GCP Secret Manager secret via LTIP's security_secrets service. Idempotent: if the secret already exists, describes it and returns the latest version path.

Inputs:

  • connection_uuid: Cloud connection UUID (required)
  • secret_id: Secret resource id (required)
  • payload: Initial secret payload (required)
  • labels: Dict (optional)
  • project_id: Explicit project (optional)

Outputs:

  • secret_id
  • provider_resource_id
  • latest_version_path
  • existed: bool

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes——
secret_idstringYes——
payloadstringYes——
labelsjsonNo——
project_idstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
existedbooleanNo——
latest_version_pathstringNo——
project_idstringNo——
provider_resource_idstringNo——
secret_idstringNo——
connection_uuiduuidNo——
labelsjsonNo——
payloadstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

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