---
title: "Enable Azure CMEK For Project"
method: PUT
path: "/v4/organizations/{organizationId}/projects/{projectId}/cmek/providers"
tags: ["CMEK"]
---

# Enable Azure CMEK For Project

`PUT /v4/organizations/{organizationId}/projects/{projectId}/cmek/providers`

## Request

- Base URL: `https://cloudapi.cloud.couchbase.com`
- URL: `https://cloudapi.cloud.couchbase.com/v4/organizations/{organizationId}/projects/{projectId}/cmek/providers`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/couchbase/apis/couchbase-capella-management-api/docs/v4/organizations/:organizationId/projects/:projectId/cmek/providers/put.ts> (a function with typed inputs; its response is checked against the schema)

Enables the customer-managed encryption keys feature for Azure on a project.

The customer-managed encryption keys feature must always be enabled for Azure before Azure keys can be created.
This operation provisions a multi-tenant Azure Entra ID application for a project, which is required for
Capella to access customer-managed encryption keys.

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

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

## Request body

- EnableCMEKAzureRequest
  - `cloudProvider` 'azure', required: Cloud provider for CMEK keys.

## Response `204`

Successfully enabled the Azure CMEK feature for a project.

## Other responses

- `400`: Returned when we are unable to decode the recevied payload.
- `403`: The client does not have the necessary permissions to access this resource.
- `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.dev/couchbase/apis/couchbase-capella-management-api.md) - [All operations](https://skmtc.dev/couchbase/apis/couchbase-capella-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/couchbase/apis/couchbase-capella-management-api/revisions/a5e88bcf71cb?raw)
