Add AWS credentials
Contributors
Suggest changes
POST /accounts/{accountPublicId}/aws/assume-role
Creates new ARN credentials for a specified account.
Token usage: Cloud Manager user token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountPublicId |
string |
path |
True |
|
isGov |
string |
query |
True |
|
x-simulator |
string |
header |
False |
Request Body
Name | Type | Required | Description |
---|---|---|---|
arn |
string |
True |
|
name |
string |
True |
|
externalId |
string |
False |
Example request
{
"arn": "string",
"name": "string",
"externalId": "string"
}
Response
Status: 200, Successful stored ARN credentials
Name | Type | Required | Description |
---|---|---|---|
credentialsId |
string |
True |
|
credentialsType |
string |
True |
|
extra |
True |
||
isSimulated |
boolean |
True |
Error
Status: 404, Account not found
Definitions
See Definitions
extra