
# 애플리케이션 자격 증명 목록 조회

`GET /v1/applications/{application_id}/credentials` · 권한 `applications:read`

애플리케이션의 자격 증명(클라이언트 시크릿과 등록된 공개 키)을 최신순으로 나열합니다. 폐기된 자격 증명도 포함됩니다. 응답은 단일 페이지로 구성되며, `list_metadata.before`와 `list_metadata.after`는 항상 `null`입니다. 시크릿 값, 시크릿 다이제스트 및 키 본문은 반환되지 않습니다. 클라이언트 시크릿은 생성할 때 한 번만 표시됩니다.

## 요청

| 매개변수 | 위치 | 설명 |
|---|---|---|
| `application_id` | path | 애플리케이션 ID(`app_…`). |

## 응답

`200 OK`.

```json
{
  "data": [
    {
      "id": "cred_0000000000000000000000001z",
      "type": "client_secret",
      "secret_last4": "abcd",
      "jwk_thumbprint": null,
      "created_by": "key_…",
      "created_at": "2026-10-01T10:00:00Z",
      "expires_at": null,
      "revoked_at": null,
      "revoke_reason": null,
      "last_used_at": null
    }
  ],
  "list_metadata": { "before": null, "after": null }
}
```

## 오류

| HTTP | `code` | 발생 조건 |
|---|---|---|
| 401 | `unauthenticated` | 키가 없거나, 잘못되었거나, 폐기되었습니다. |
| 403 | `insufficient_permissions` | 키에 필요한 권한이 없습니다. |
| 404 | `not_found` | 이 환경에 애플리케이션이 존재하지 않습니다. |
| 503 | `service_unavailable` | 자격 증명 레지스트리를 일시적으로 사용할 수 없습니다. `Retry-After` 시간이 지난 후 다시 시도하십시오. |

## 예시

```bash
curl https://api.eu.keenauth.com/v1/applications/app_6f8d0cjgbmf0gtn2rg6pscp3cg/credentials \
  -H "Authorization: Bearer $KEENAUTH_SECRET_KEY"
```
