---
title: "ListSecretAttributes"
method: POST
path: "/depot.ci.v3beta2.SecretService/ListSecretAttributes"
tags: ["SecretService"]
---

# ListSecretAttributes

`POST /depot.ci.v3beta2.SecretService/ListSecretAttributes`

## Request

- Base URL: `https://api.depot.dev`
- URL: `https://api.depot.dev/depot.ci.v3beta2.SecretService/ListSecretAttributes`
- Auth: HTTP bearer

## Headers

- `Connect-Protocol-Version` 1, required: Define the version of the Connect protocol
- `Connect-Timeout-Ms` number: Define the timeout, in ms

## Request body

- DepotCiV3beta2ListSecretAttributesRequest

## Response `200`

Success

- DepotCiV3beta2ListSecretAttributesResponse
  - `attributes` DepotCiV3beta2AttributeLinkCount[]
    - `attribute` DepotCiV3beta2Attribute
      - `key` string, required: Attribute dimension. Can be "repository", "environment", "branch", or "workflow".
      - `value` string, required: Exact value or pattern, depending on `key`.
    - `linkCount` integer: Number of variants linked to this attribute.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/depot/apis/depot-ci-api.md) - [All operations](https://skmtc.dev/depot/apis/depot-ci-api/llms.txt) - [OpenAPI document](https://skmtc.dev/depot/apis/depot-ci-api/revisions/6cf759b535b4?raw)
