Retrieve credentials by ID

Contributors

GET /accounts/{accountPublicId}/aws/assume-role/{credentialsId}

Retrieves existing ARN credentials by a specified account public ID.

Token usage: Both a Cloud Manager user token and service token. The service token needs to include the following scopes: credentials:internal. Pass the user token or service token in the Authorization request header.

Parameters

Name Type In Required Description

accountPublicId

string

path

True

credentialsId

string

path

True

Response

Status: 200, Successful fetched arn credentials
Name Type Required Description

credentialsId

string

True

arn

string

True

externalId

string

False

name

string

True

credentialsType

string

True

isSimulated

boolean

True

Error

Status: 404, Credentials not found