@Generated public interface EncryptionKeysService
* Managed services: A key configuration can be used to encrypt a workspace's notebook and secret data in the control plane, as well as Databricks SQL queries and query history. * Storage: A key configuration can be used to encrypt a workspace's DBFS and EBS data in the data plane.
In both of these cases, the key configuration's ID is used when creating a new workspace. This Preview feature is available if your account is on the E2 version of the platform. Updating a running workspace with workspace storage encryption requires that the workspace is on the E2 version of the platform. If you have an older workspace, it might not be on the E2 version of the platform. If you are not sure, contact your Databricks representative.
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
CustomerManagedKey |
create(CreateCustomerManagedKeyRequest createCustomerManagedKeyRequest)
Creates a customer-managed key configuration object for an account, specified by ID.
|
CustomerManagedKey |
delete(DeleteEncryptionKeyRequest deleteEncryptionKeyRequest)
Deletes a customer-managed key configuration object for an account.
|
CustomerManagedKey |
get(GetEncryptionKeyRequest getEncryptionKeyRequest)
Gets a customer-managed key configuration object for an account, specified by ID.
|
Collection<CustomerManagedKey> |
list()
Lists Databricks customer-managed key configurations for an account.
|
CustomerManagedKey create(CreateCustomerManagedKeyRequest createCustomerManagedKeyRequest)
**Important**: Customer-managed keys are supported only for some deployment types, subscription types, and AWS regions that currently support creation of Databricks workspaces.
This operation is available only if your account is on the E2 version of the platform or on a select custom plan that allows multiple workspaces per account.
CustomerManagedKey delete(DeleteEncryptionKeyRequest deleteEncryptionKeyRequest)
CustomerManagedKey get(GetEncryptionKeyRequest getEncryptionKeyRequest)
**Important**: Customer-managed keys are supported only for some deployment types, subscription types, and AWS regions.
This operation is available only if your account is on the E2 version of the platform.",
Collection<CustomerManagedKey> list()
Copyright © 2026. All rights reserved.