Skip to main content

Retrieve credentials using the ID

Retrieves existing ARN credentials using the specified account public ID. Use this to access the credentials associated with an account for authentication or authorization purposes.

HTTP method and endpoint

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

Token usage

Both a NetApp Console 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

Example response
{
  "credentialsId": "string",
  "arn": "string",
  "externalId": "string",
  "name": "string",
  "credentialsType": "string",
  "isSimulated": false
}

Error

Status: 404, Credentials not found