Skip to main content

Check that Prism can assume its role in an account

POST 

/accounts/validate

Checks whether Prism can assume its switch role in an AWS account, and changes nothing.

This is the pre-flight for onboarding. It performs one sts:AssumeRole into the account, presenting your tenant UUID as the external ID, and reports whether that succeeded. Nothing is created, nothing is written, and the account does not have to be registered with Prism.

What a success proves is narrow. It proves the role exists, trusts Prism, and accepts your external ID. It says nothing about whether the role's policy allows creating a SAML identity provider, the permission onboarding actually needs. An account can pass this check and still fail POST /accounts/onboard with a 502.

A failed check is a 400, not a 502. That is the opposite of the onboarding operations, which blame AWS with a 502 for the same class of failure. Do not read the 400 as "your request was malformed": the request was fine and the trust relationship was not.

Request​

Responses​

The role was assumed. See above for how little that proves.