---
title: "List services associated with a CMK"
method: GET
path: "/project/{project}/secrets/cmks/{cmk_id}/service_associations"
tags: ["Secrets"]
---

# List services associated with a CMK

`GET /project/{project}/secrets/cmks/{cmk_id}/service_associations`

## Request

- Base URL: `https://api.aiven.io/v1`
- URL: `https://api.aiven.io/v1/project/{project}/secrets/cmks/{cmk_id}/service_associations`
- Auth: HTTP bearer and OAuth 2
  - Authorization code: `https://console.aiven.io/oauth/authorize`
  - Token URL: `https://api.aiven.io/v1/oauth2/token` scopes: `projects:read`

Returns a list of services associated with a given CMK and their association status. Response example: { "service\_associations": \[ {"service\_name": "my-pg-service", "status": "active"}, {"service\_name": "my-kafka", "status": "activating"} \] }

## Path parameters

- `project` string, required
- `cmk_id` string, required

## Response `200`

Response

- CMKServiceAssociationsListResponse: CMKServiceAssociationsListResponse
  - `service_associations` object[], required: Service Associations
    - `service_name` string, required: Service name
    - `status` string, required: Association status

## Other responses

- `400`: Invalid CMK ID format
- `403`: This feature is not enabled in your context, please contact support to enable it.
- `404`: Project not found

## Changes

- **2026-05-20** `b3fa0d3f099f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aiven/apis/aiven-api-documentation/changes/project/:project/secrets/cmks/:cmk_id/service_associations/get.md)

---

[API](https://skmtc.dev/aiven/apis/aiven-api-documentation.md) - [All operations](https://skmtc.dev/aiven/apis/aiven-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aiven/apis/aiven-api-documentation/revisions/b5ff8f3e4299?raw)
