Prisma Cloud: What's The API Call to Generate External ID for AWS Role Trust Relationship?
2823
Created On 07/27/22 00:31 AM - Last Modified 08/23/24 14:55 PM
Question
What's the API call to generate external ID for AWS role trust relationship?
Environment
- Prisma Cloud
- Rest API
- Python
- cURL
- Postman
Answer
The following call to Prisma Cloud CSPM can be used to generate an external ID for AWS role trust relationship:
https://{{api-endpoint}}/cloud/aws/app_provisioner
Payload:
{
"name":"testAPI",
"protectionMode":"MONITOR",
"storageScanEnabled":false
}Additional Information
An External ID is required for you to be able to successfully onboard an AWS account via Prisma Cloud CSPM APIs.
Github Repo for Prisma Cloud Postman collection.