confluent_identity_provider Data Source

General Availability

confluent_identity_provider describes an Identity Provider 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_identity_provider" "example_using_id" {
  id = "op-abc123"
}

output "example_using_id" {
  value = data.confluent_identity_provider.example_using_id
}

data "confluent_identity_provider" "example_using_name" {
  display_name = "My OIDC Provider: Azure AD"
}

output "example_using_name" {
  value = data.confluent_identity_provider.example_using_name
}

Argument Reference

The following arguments are supported (specify either id or display_name, not both):

Attributes Reference

The following attributes are exported: