Skip to main content
POST
Create an AWS role credential

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Headers

X-Ankra-CSRF
string
required

Must match the ankra_csrf browser cookie.

Body

application/json
name
string
required
role_arn
string
required
external_id
string
required
write-only
region
string
default:us-east-1
scope
enum<string>
default:cost
Available options:
cost,
provisioning,
self_managed

Response

Successful response

id
string<uuid>
required
name
string
required
provider
string
required
Allowed value: "aws"
organisation_id
string<uuid>
required
system
boolean
required
available
boolean
required