azure.auth.validate_credentials ​
Validate Azure service principal credentials
Validate Azure service principal credentials by obtaining an access token from the Microsoft identity platform.
Inputs: none (credentials come from the azure plugin).
Outputs (terminal state_data):
- tenant_id: str — Azure tenant ID
- client_id: str — service principal (app) client ID
- token_type: str — usually Bearer
- expires_in: int — token lifetime in seconds
- authenticated: bool — always true on success
Plugin required: context.get_plugin("azure") must expose:
- .tenant_id
- .client_id
- .client_secret
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | Base |
| Version | 1.0 |
Input Schema ​
No input fields required.
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
authenticated | boolean | No | — | — |
client_id | string | No | — | — |
expires_in | integer | No | — | — |
tenant_id | string | No | — | — |
token_type | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "azure.auth.validate_credentials",
"initial_data": { }
}