Skip to content
Proud to collaborate with Microsoft for Startups

gcp.auth.validate_credentials ​

Validate stored GCP service-account credentials

Validate a stored GCP CloudConnection by exchanging its credentials for a short-lived access token.

Inputs:

  • connection_uuid: str — the GCP CloudConnection UUID to validate

Outputs (terminal state_data):

  • project_id: str — GCP project ID resolved from the connection
  • authenticated: bool — always true on success

Plugin required: context.get_plugin("gcp") must implement the abstract ltinteg_workflow.plugins.gcp.GCPPlugin contract — i.e. expose get_credentials_for_connection(connection) and get_project_id_for_connection(connection).

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
authenticatedbooleanNo——
project_idstringNo——
connection_uuiduuidNo——
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.auth.validate_credentials",
  "initial_data": {
    "connection_uuid": "value"
  }
}