Skip to main content

Retrieve credentials by ID

Contributors

GET /accounts/{accountPublicId}/credentials/{credentialsId}

Retrieves specific generic credentials by account public ID and credentials 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

getDecrypted

boolean

query

False

Get decrypted will determine if to return the decrypted credentials or leave it undefined default value false

Response

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

credentialsId

string

True

credentialsType

string

True

extra

extra

True

credentials

credentials

True

isSimulated

boolean

True

Error

Status: 404, Credentials not found

Definitions

See Definitions

extra

credentials