[BETA] Request generation of key/secret that allow caller to assume target role
POST
/iam-role/{target-role-id}/assume
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/iam-role/{target-role-id}/assume' \
--header "Content-Type: application/json" \
--data '{"ttl":42}'
Request examples
{
"ttl": 42
}
Response examples (200)
{
"key": "string",
"name": "string",
"org-id": "string",
"role-id": "string",
"secret": "string"
}