Skip to main content

Get Credential Usages

GET 

/api/v32.04/credentials/:id/usages

x-prisma-cloud-target-env: {"permission":"manageCreds","saas":true,"self-hosted":true}
x-public: true

Retrieves all usages for a specific credential in the credential store.

To invoke this endpoint in the Console UI:

  1. Navigate to Manage > Authentication > Credential Store.
  2. From the table, find the row of the credential you want to update and click the dotted icon under the Actions column.
  3. Click the Manage button.
  4. The Usage table displays the data from this endpoint.

cURL Request

Refer to the following cURL command that retrieves all usages for a credential:

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
https://<CONSOLE>/api/v<VERSION>/credentials/{id}/usages

A successful response returns a list of all usages for the credential.

Request

Path Parameters

    id stringrequired

Responses

Schema
  • Array [
  • description string

    Resource description (e.g., repository name for registry scan).

    type cred.UsageType (string)

    Possible values: [Alert settings,Alert profile,Registry Scan,Serverless Scan,Cloud Scan,Secret Store,Serverless Auto-Deploy,Host Auto-deploy,VM Scan,Agentless Scan Hub,Custom Intelligence Endpoint,VMware Tanzu blobstore Scan,Kubernetes Audit settings,Agentless app firewall]

    UsageType represents the credential usage type

  • ]
Loading...