---
title: "List All Secret References"
method: GET
path: "/v1/projects/{projectId}/secret-references"
tags: ["Secret References"]
---

# List All Secret References

`GET /v1/projects/{projectId}/secret-references`

## Request

- Base URL: `https://eu1.api.matillion.com/dpc`
- URL: `https://eu1.api.matillion.com/dpc/v1/projects/{projectId}/secret-references`
- Auth: HTTP bearer

An endpoint for listing secret references

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `secretReferenceTypes` string[]
- `providers` string[]
- `page` unknown
- `size` unknown

## Response `200`

Secret references have been retrieved

- PagedResultListSecretReferenceSummary
  - `page` integer: The 0-indexed page number of the returned results.
  - `results` SecretReferenceSummary[]: Page of results or empty.
    - `description` string: The description of the secret reference as set by the user
    - `name` string: The name of the Data Productivity Cloud secret reference
    - `provider` string: The Cloud Provider of the secret location
    - `secretKey` string: The key of the secret within the Cloud Provider
    - `secretName` string: The name of the secret within the Cloud Provider
    - `type` string: The type of secret reference
    - `vaultName` string: The name of the chosen Azure vault
    - `vaultType` string: The Cloud Provider of the secret location
  - `size` integer: The size of each page of results.
  - `total` integer: Total number of available results across all pages.

## Other responses

- `400`: Wrong request parameters used
- `403`: Unauthorized
- `404`: Secret references not found
- `422`: Unprocessable Entity
- `500`: Unexpected error occurred
- `504`: Gateway timeout

---

[API](https://skmtc.dev/maia/apis/maia-public-rest-api.md) - [All operations](https://skmtc.dev/maia/apis/maia-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maia/apis/maia-public-rest-api/revisions/6239825f68eb?raw)
