List Account Roles

sso.list_account_roles
ActionAmazon Web Servicesconnection required

Calls the AWS sso API (SigV4).

Lists all roles that are assigned to the user for a given AWS 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

3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
access_token
The token issued by the CreateToken API call.
stringYes—credential materialcredential
account_id
The identifier for the AWS account that is assigned to the user.
stringYes———

Output

One shape.

result

FieldTypeExample
nextToken
string—
roleList
array—
{
  "nextToken": "",
  "roleList": []
}

Related AWS Single Sign-On nodes

See List Account Roles 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.