func (a CustomerManagedKeysAPI) List(accountID string) (kl []CustomerManagedKey, err error) {
	err = a.client.Get(a.context, fmt.Sprintf("/accounts/%s/customer-managed-keys", accountID), nil, &kl)
	return
}
List lists all the available customer managed key objects in the mws account
package mws
import (
	"context"
	"fmt"
	"github.com/databrickslabs/terraform-provider-databricks/common"
	"github.com/hashicorp/go-cty/cty"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
type AwsKeyInfo struct {
	KeyArn    string `json:"key_arn"`
	KeyAlias  string `json:"key_alias"`
	KeyRegion string `json:"key_region,omitempty" tf:"computed"`
}
type CustomerManagedKey struct {
	CustomerManagedKeyID string      `json:"customer_managed_key_id,omitempty" tf:"computed"`
	AwsKeyInfo           *AwsKeyInfo `json:"aws_key_info" tf:"force_new"`
	AccountID            string      `json:"account_id" tf:"force_new"`
	CreationTime         int64       `json:"creation_time,omitempty" tf:"computed"`
	UseCases             []string    `json:"use_cases"`
}
func NewCustomerManagedKeysAPI(ctx context.Context, m interface{}) CustomerManagedKeysAPI {
	return CustomerManagedKeysAPI{m.(*common.DatabricksClient), ctx}
}
type CustomerManagedKeysAPI struct {
	client  *common.DatabricksClient
	context context.Context
}
func (a CustomerManagedKeysAPI) Create(cmk CustomerManagedKey) (k CustomerManagedKey, err error) {
	customerManagedKeysAPIPath := fmt.Sprintf("/accounts/%s/customer-managed-keys", cmk.AccountID)
	err = a.client.Post(a.context, customerManagedKeysAPIPath, cmk, &k)
	return
}
func (a CustomerManagedKeysAPI) Read(
	accountID, customerManagedKeyID string) (k CustomerManagedKey, err error) {
	err = a.client.Get(a.context, fmt.Sprintf("/accounts/%s/customer-managed-keys/%s",
		accountID, customerManagedKeyID), nil, &k)
	return
}
func (a CustomerManagedKeysAPI) Delete(accountID, customerManagedKeyID string) error {
	return a.client.Delete(a.context, fmt.Sprintf("/accounts/%s/customer-managed-keys/%s",
		accountID, customerManagedKeyID), nil)
}