Get role AWS token
GET/roles/:role_id/awstoken
Get an AWS token for the role. Return 403 on an initial request if the AWS role has multi-factor authentication enabled. Subsequent request must contain MFA as a query parameter. Return 403 if the user does not have the role.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response
Bad request error response
Unauthorized request error response; OAuth2 authorization missing or invalid
Forbidden error response; OAuth2 authorization OK but scope insufficient
Resource not found error response
Internal server error response