Skip to main content

Retrieve credentials by type

Contributors

GET /accounts/{accountPublicId}/credentials

Retrieves a list of generic credentials by credentials type with 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

credentialsType

string

query

True

The credentials type

x-simulator

string

header

False

Response

Status: 200, List of credentials

Definitions

See Definitions

extra

credentials

CredentialsItemResponse

Name Type Required Description

credentialsId

string

True

credentialsType

string

True

extra

extra

True

credentials

credentials

True

isSimulated

boolean

True