confluent_byok_key Data Source

General Availability

confluent_byok_key describes a BYOK Key data source.

Example Usage

provider "confluent" {
  cloud_api_key    = var.confluent_cloud_api_key    # optionally use CONFLUENT_CLOUD_API_KEY env var
  cloud_api_secret = var.confluent_cloud_api_secret # optionally use CONFLUENT_CLOUD_API_SECRET env var
}

data "confluent_byok_key" "azure_key"{
  id = "cck-abcde"
}

output "byok" {
  value = data.confluent_byok_key.azure_key
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the preceding arguments, the following attributes are exported: