workspace_identity_providers
Creates, updates, deletes, gets or lists a workspace_identity_providers resource.
Overview​
| Name | workspace_identity_providers |
| Type | Resource |
| Id | railway.workspaces.workspace_identity_providers |
Fields​
The following fields are returned by SELECT queries:
- list
One row per WorkspaceIdentityProvider.
| Name | Datatype | Description |
|---|---|---|
id | string | |
workspace_id | string | |
connection | object | WorkspaceIdPConnection object |
created_at | string (date-time) | |
enforcement_enabled_at | string (date-time) | |
updated_at | string (date-time) | |
workspace | object | Workspace object |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | workspace_id | Gets all identity providers of a workspace. Backed by the Railway GraphQL query workspaceIdentityProviders. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
workspace_id | string |
SELECT examples​
- list
Gets all identity providers of a workspace. Backed by the Railway GraphQL query workspaceIdentityProviders.
SELECT
id,
workspace_id,
connection,
created_at,
enforcement_enabled_at,
updated_at,
workspace
FROM railway.workspaces.workspace_identity_providers
WHERE workspace_id = '{{ workspace_id }}' -- required
;