confluent_identity_provider Resource

General Availability

confluent_identity_provider provides an Identity Provider resource that enables creating, editing, and deleting identity providers on Confluent Cloud.

Example Usage

Example Identity Provider: Azure AD

resource "confluent_identity_provider" "azure" {
  display_name = "My OIDC Provider: Azure AD"
  description  = "My description"
  issuer       = "https://login.microsoftonline.com/{tenant_id}/v2.0"
  jwks_uri     = "https://login.microsoftonline.com/common/discovery/v2.0/keys"
}

Example Identity Provider: Okta

resource "confluent_identity_provider" "okta" {
  display_name = "My OIDC Provider: Okta"
  description  = "My description"
  issuer       = "https://mycompany.okta.com/oauth2/default"
  jwks_uri     = "https://mycompany.okta.com/oauth2/default/v1/keys"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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

Import

You can import an Identity Provider by using Identity Provider ID, for example:

$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
$ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
$ terraform import confluent_identity_provider.example op-abc123

External Documentation