Manage customer-managed encryption keys in Astra

After you configure customer-managed encryption keys (CMEK) for your Astra Managed Clusters databases, you can view registered keys, rotate keys, and delete keys or revert to default encryption.

View customer keys

You can inspect registered customer keys for Astra Managed Clusters databases with the DevOps API.

Get encryption keys for one region with the DevOps API

You can use the DevOps API to get registered encryption keys for a specific region. You must specify the cloud provider (aws or gcp) and region to retrieve:

curl -sS -L -X GET "https://api.astra.datastax.com/v2/kms/classic/provider/PROVIDER/region/REGION" \
--header "Authorization: Bearer APPLICATION_TOKEN" \
--header "Content-Type: application/json"

A successful response includes the organization ID, provider, key ID, and region. The keyID is the registered key’s ARN (for AWS) or resource name (for GCP).

Result
{
  "orgId": "ORGANIZATION_ID",
  "PROVIDER": {
    "keyID": "ARN_OR_RESOURCE_NAME",
    "region": "REGION"
  }
}
Get all Astra Managed Clusters encryption keys with the DevOps API

You can use the DevOps API to get all registered customer keys for an organization.

Rotate customer keys

Customer key cloud providers provide automatic rotation through key versioning. You can manage this in your cloud provider’s KMS console. For more information, see the documentation for your cloud provider:

If automatic key versioning is not sufficient, you can replace a customer key by contacting IBM Support.

Delete customer keys or use default encryption

If you want to delete an encryption key from your Astra organization, or use default Astra DB encryption instead of customer key encryption, you must contact IBM Support.

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM