confluent_identity_pool
describes an Identity Pool data source.
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_pool" "example_using_id" {
id = "pool-xyz456"
identity_provider {
id = "op-abc123"
}
}
output "example_using_id" {
value = data.confluent_identity_pool.example_using_id
}
data "confluent_identity_pool" "example_using_name" {
display_name = "My Identity Pool"
identity_provider {
id = "op-abc123"
}
}
output "example_using_name" {
value = data.confluent_identity_pool.example_using_name
}
The following arguments are supported:
id
- (Optional String) The ID of the Identity Pool, for example, pool-xyz456
.display_name
- (Optional String) A human-readable name for the Identity Pool.identity_provider
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Identity Provider associated with the Identity Pool, for example, op-abc123
.In addition to the preceding arguments, the following attributes are exported:
The following attributes are exported:
id
- (Required String) The ID of the Identity Pool, for example, pool-xyz456
.identity_provider
(Required Configuration Block) supports the following:
id
- (Required String) The ID of the Identity Provider associated with the Identity Pool, for example, op-abc123
.display_name
- (Required String) A human-readable name for the Identity Pool.description
- (Required String) A description for the Identity Pool.identity_claim
- (Required String) The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see Registered Claim Names for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A".filter
- (Required String) A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your identity pool (see Set identity pool filters for more details).