---
title: "Get Azure Key Metadata For Project"
method: GET
path: "/v4/organizations/{organizationId}/projects/{projectId}/cmek/{cmekId}"
tags: ["CMEK"]
---

# Get Azure Key Metadata For Project

`GET /v4/organizations/{organizationId}/projects/{projectId}/cmek/{cmekId}`

Retrieves the full metadata details for a specific Azure customer-managed encryption key in a project.

In order to access this endpoint, the provided API key must have at least one of the following roles:
 - Organization Owner
 - Project Owner
 - Project Manager
 - Project Viewer
 - Database Data Reader/Writer
 - Database Data Reader

To learn more, see [Organization, Project, and Database Access Overview](https://docs.couchbase.com/cloud/organizations/organization-projects-overview.html).

## Response `200`

Successfully fetched the encryption key details based on its ID in a project.

- GetCMEKAzureMetadataResponse
  - `id` string, uuid, required — The ID of the key created.
  - `name` string, required — Name of the key (up to 256 characters).
  - `description` string, required — Description of the Key (up to 1024 characters).
  - `config` AzureConfig, required
    - `keyLocation` string, required — The URL of the Azure key.
    - `region` string, required — The region of the Azure key.
  - `audit` CouchbaseAuditData, required
    - `createdBy` string, required — The user who created the resource; this will be a UUID4 ID for standard users and will be a string such as "internal-support" for internal Couchbase support users.
    - `createdAt` string, date-time, required — The RFC3339 timestamp associated with when the resource was initially created.
    - `modifiedBy` string, required — The user who last modified the resource; this will be a UUID4 ID for standard users and wilmal be a string such as "internal-support" for internal Couchbase support users.
    - `modifiedAt` string, date-time, required — The RFC3339 timestamp associated with when the resource was last modified.
    - `version` integer, required — The version of the document. This value is incremented each time the resource is modified.

## Other responses

- `403` — The client does not have the necessary permissions to access this resource.
- `404` — The requested resource was not found.
- `422` — Request validation error.
- `429` — Returned when the client exceeds the rate limit for the given APIKey.
- `500` — An unexpected error occurred in the server while processing this request.

---

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