Get IAM role policy

Returns a role setup for connecting an AWS account: the scoped IAM permission policy (the single source of
truth for the AWS actions the provisioner requires), the trust policy, the external ID issued for the role,
and how to create it from the CloudFormation template.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum

Required: issue an external ID for the role (recorded as issued to the caller, for this role, for 24 hours)
and return how to create the role from the CloudFormation template. Without it the endpoint answers 410
Gone: the role setup without an external ID (the retired agent registration) is no longer served.

Allowed:
string
^[0-9]{12}$

The AWS account being connected (dashes allowed). With externalId, the quick-create link and the
CloudShell command carry it as the template's AccountId parameter, and the stack refuses to be created in
any other account. Without it, the console asks for it.

Responses

410

Without externalId=true. The role setup without an external ID is retired; connect the account in the web app.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json