func (a SecretAclsAPI) Read(scope string, principal string) (ACLItem, error) {
	var aclItem ACLItem
	err := a.client.Get(a.context, "/secrets/acls/get", SecretACLRequest{
		Scope:     scope,
		Principal: principal,
	}, &aclItem)
	return aclItem, err
}
Read describe the details about the given ACL, such as the group and permission
package access
import (
	"context"
	"github.com/databrickslabs/terraform-provider-databricks/common"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
func NewSecretAclsAPI(ctx context.Context, m interface{}) SecretAclsAPI {
	return SecretAclsAPI{m.(*common.DatabricksClient), ctx}
}
type SecretAclsAPI struct {
	client  *common.DatabricksClient
	context context.Context
}
func (a SecretAclsAPI) Create(scope string, principal string, permission ACLPermission) error {
	return a.client.Post(a.context, "/secrets/acls/put", SecretACLRequest{
		Scope:      scope,
		Principal:  principal,
		Permission: permission,
	}, nil)
}
func (a SecretAclsAPI) Delete(scope string, principal string) error {
	return a.client.Post(a.context, "/secrets/acls/delete", SecretACLRequest{
		Scope:     scope,
		Principal: principal,
	}, nil)
}