Skip to main content

identity_providers

Creates, updates, deletes, gets or lists an identity_providers resource.

Overview

Nameidentity_providers
TypeResource
Idconfluent.iam.identity_providers

Fields

The following fields are returned by SELECT queries:

Identity Provider.

NameDatatypeDescription
idstringID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space"). (example: dlz-f3a90de)
display_namestringThe human-readable name of the OAuth identity provider. (example: My OIDC Provider)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (iam/v2)
descriptionstringA description of the identity provider.
identity_claimstringThe JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from Registered Claim Names. This appears in audit log records. Note: if the client specifies mapping to one identity pool ID, the identity claim configured with that pool will be used instead. Note - The attribute is in an Early Access lifecycle stage (example: claims.sub)
issuerstring (uri)A publicly accessible URL uniquely identifying the OAuth identity provider authorized to issue access tokens. (example: https://login.microsoftonline.com/{tenantid}/v2.0)
jwks_uristring (uri)A publicly accessible JSON Web Key Set (JWKS) URI for the OAuth identity provider. JWKS provides a set of crypotgraphic keys used to verify the authenticity and integrity of JSON Web Tokens (JWTs) issued by the OAuth identity provider. (example: https://login.microsoftonline.com/common/discovery/v2.0/keys)
keysarrayThe JWKS issued by the OAuth identity provider. Only kid (key ID) and alg (algorithm) properties for each key set are included.
kindstringKind defines the object this REST resource represents. (IdentityProvider)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
statestringThe current state of the identity provider. (example: ENABLED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_iam_v2_identity_providerselectidMake a request to read an identity provider.
list_iam_v2_identity_providersselectpage_size, page_tokenRetrieve a sorted, filtered, paginated list of all identity providers.
create_iam_v2_identity_providerinsertdisplay_name, description, issuer, jwks_uriMake a request to create an identity provider.
update_iam_v2_identity_providerupdateidMake a request to update an identity provider.

delete_iam_v2_identity_providerdeleteidMake a request to delete an identity provider.
refresh_iam_v2_json_web_key_setexecprovider_idMake a request to refresh the provider's JWKS

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe unique identifier for the identity provider.
provider_idstringThe Provider
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.

SELECT examples

Make a request to read an identity provider.

SELECT
id,
display_name,
api_version,
description,
identity_claim,
issuer,
jwks_uri,
keys,
kind,
metadata,
state
FROM confluent.iam.identity_providers
WHERE id = '{{ id }}' -- required
;

INSERT examples

Make a request to create an identity provider.

INSERT INTO confluent.iam.identity_providers (
display_name,
description,
identity_claim,
issuer,
jwks_uri
)
SELECT
'{{ display_name }}' /* required */,
'{{ description }}' /* required */,
'{{ identity_claim }}',
'{{ issuer }}' /* required */,
'{{ jwks_uri }}' /* required */
RETURNING
id,
display_name,
api_version,
description,
identity_claim,
issuer,
jwks_uri,
keys,
kind,
metadata,
state
;

UPDATE examples

Make a request to update an identity provider.

UPDATE confluent.iam.identity_providers
SET
display_name = '{{ display_name }}',
description = '{{ description }}',
identity_claim = '{{ identity_claim }}',
issuer = '{{ issuer }}',
jwks_uri = '{{ jwks_uri }}'
WHERE
id = '{{ id }}' --required
RETURNING
id,
display_name,
api_version,
description,
identity_claim,
issuer,
jwks_uri,
keys,
kind,
metadata,
state;

DELETE examples

Make a request to delete an identity provider.

DELETE FROM confluent.iam.identity_providers
WHERE id = '{{ id }}' --required
;

Lifecycle Methods

Make a request to refresh the provider's JWKS

EXEC confluent.iam.identity_providers.refresh_iam_v2_json_web_key_set
@provider_id='{{ provider_id }}' --required
@@json=
'{
"spec": "{{ spec }}"
}'
;