Skip to main content

clients

Creates, updates, deletes, gets or lists a clients resource.

Overview

Nameclients
TypeResource
Idaws.sso_oidc.clients

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
register_clientinsertregion, clientName, clientTypeRegisters a public client with IAM Identity Center. This allows clients to perform authorization using the authorization code grant with Proof Key for Code Exchange (PKCE) or the device code grant.

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
regionstringAWS region (default: us-east-1)

INSERT examples

Registers a public client with IAM Identity Center. This allows clients to perform authorization using the authorization code grant with Proof Key for Code Exchange (PKCE) or the device code grant.

INSERT INTO aws.sso_oidc.clients (
clientName,
clientType,
scopes,
redirectUris,
grantTypes,
issuerUrl,
entitledApplicationArn,
region
)
SELECT
'{{ clientName }}' /* required */,
'{{ clientType }}' /* required */,
'{{ scopes }}',
'{{ redirectUris }}',
'{{ grantTypes }}',
'{{ issuerUrl }}',
'{{ entitledApplicationArn }}',
'{{ region }}'
RETURNING
authorization_endpoint,
client_id,
client_id_issued_at,
client_secret,
client_secret_expires_at,
token_endpoint
;