Skip to main content

Retrieve credentials by ID

Retrieves specific generic credentials based on the account public ID and credentials ID. Use this to access the details of the credentials associated with a particular account.

HTTP method and endpoint

GET /accounts/{accountPublicId}/credentials/{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.

Usage notes

Retrieves specific generic credentials using the account public ID and credentials ID.

Parameters

Name Type In Required Description

accountPublicId

string

path

True

credentialsId

string

path

True

getDecrypted

boolean

query

False

Returns decrypted credentials when set to true. The default value is 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