# [BETA] Request generation of key/secret that allow caller to assume target role **POST /iam-role/{target-role-id}/assume** [BETA] Request generation of key/secret that allow caller to assume target role ## Servers - https://api-ch-gva-2.exoscale.com/v2: https://api-ch-gva-2.exoscale.com/v2 () ## Parameters ### Path parameters - **target-role-id** (string(uuid)) ### Body: application/json (object) - **ttl** (integer(int64)) TTL in seconds for the generated access key (cannot exceed the max TTL defined in the targeted assume role) ## Responses ### 200 200 #### Body: application/json (object) - **key** (string) - **name** (string) - **org-id** (string) - **role-id** (string) - **secret** (string) [Powered by Bump.sh](https://bump.sh)