gcp.secretmanager.secret.describe ​
Describe a Secret Manager secret (metadata only; never payload).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | Base-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | GCP CloudConnection UUID. |
project_id | string | No | — | Project override; defaults to the connection's project. |
secret_id | string | Yes | — | Secret Manager secret id. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | Echoed connection UUID. |
project_id | string | No | — | Effective project id. |
secret_id | string | No | — | Secret id. |
exists | boolean | No | — | True when the secret exists (404 returns False, not a failure). |
resource_name | string | No | — | Fully-qualified secret resource name. |
create_time | string | No | — | Secret creation time. |
labels | json | No | — | Sanitized labels. |
replication_policy | string | No | — | automatic or user_managed. |
secret | json | No | — | Sanitized secret metadata resource. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Engine failed layer envelope. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
describing | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | describing | — |
describing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "gcp.secretmanager.secret.describe",
"initial_data": {
"connection_uuid": "value",
"secret_id": "value"
}
}