---
title: "List SAML application secrets"
method: GET
path: "/api/saml-applications/{id}/secrets"
tags: ["SAML applications"]
---

# List SAML application secrets

`GET /api/saml-applications/{id}/secrets`

Get all signing certificates of the SAML application.

## Path parameters

- `id` string, required

## Response `200`

A list of signing certificates.

- object[]
  - `id` string, required — The ID of the signing certificate.
  - `certificate` string, required — The X.509 certificate in PEM format.
  - `createdAt` number, required
  - `expiresAt` string, date-time, required — The expiration time of the certificate.
  - `active` boolean, required
  - `fingerprints` object, required
    - `sha256` object, required
      - `formatted` string, required
      - `unformatted` string, required
  - `fingerprint` string — The SHA-256 fingerprint of the certificate.
  - `isActive` boolean — Whether this certificate is currently active.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — The SAML application was not found.

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
