List Accounts
sso.list_accounts
ActionAmazon Web Servicesconnection required
Calls the AWS sso API (SigV4).
Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the administrator of the account.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- AWS Single Sign-On
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
access_token The token issued by the CreateToken API call. | string | Yes | — | credential material | credential |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
nextToken | string | — |
accountList | array | — |
{
"accountList": [],
"nextToken": ""
}Related AWS Single Sign-On nodes
See List Accounts run in a workflow.
In a technical demo we add the AWS Single Sign-On connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.