Data Export destinations
Generate trust policy
Trust policy to allow Data Export to assume the role and perform operations on AWS resources
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
projKey*string
The project key
Format
stringenvKey*string
The environment key
Format
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/destinations/projects/string/environments/string/generate-trust-policy"{ "awsTrustPolicy": { "Version": "string", "Statement": [ { "Effect": "string", "Action": [ "string" ], "Principal": null, "Condition": null } ] }}