Data Export destinations

Generate trust policy

POST
/api/v2/destinations/projects/{projKey}/environments/{envKey}/generate-trust-policy

Trust policy to allow Data Export to assume the role and perform operations on AWS resources

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projKey*string

The project key

Formatstring
envKey*string

The environment key

Formatstring

Response 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      }    ]  }}