Skip to main content

Add AWS credentials

Contributors

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

extra

True

isSimulated

boolean

True

Error

Status: 404, Account not found

Definitions

See Definitions

extra