oidc_infos
Creates, updates, deletes, gets or lists an oidc_infos resource.
Overview
| Name | oidc_infos |
| Type | Resource |
| Id | aws.wickr.oidc_infos |
Fields
The following fields are returned by SELECT queries:
- get_oidc_info
| Name | Datatype | Description |
|---|---|---|
openid_connect_info | object | The OpenID Connect configuration information for the network, including issuer, client ID, scopes, and other SSO settings. |
token_info | object | OAuth token information including access token, refresh token, and expiration details (only present if token parameters were provided in the request). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_oidc_info | select | network_id, region | clientId, code, grantType, redirectUri, url, clientSecret, codeVerifier, certificate | Retrieves the OpenID Connect (OIDC) configuration for a Wickr network, including SSO settings and optional token information if access token parameters are provided. |
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.
| Name | Datatype | Description |
|---|---|---|
network_id | string | The ID of the Wickr network whose OIDC configuration will be retrieved. |
region | string | AWS region (default: us-east-1) |
certificate | string | The CA certificate for secure communication with the OIDC provider (optional). |
clientId | string | The OAuth client ID for retrieving access tokens (optional). |
clientSecret | string | The OAuth client secret for retrieving access tokens (optional). |
code | string | The authorization code for retrieving access tokens (optional). |
codeVerifier | string | The PKCE code verifier for enhanced security in the OAuth flow (optional). |
grantType | string | The OAuth grant type for retrieving access tokens (optional). |
redirectUri | string | The redirect URI for the OAuth flow (optional). |
url | string | The URL for the OIDC provider (optional). |
SELECT examples
- get_oidc_info
Retrieves the OpenID Connect (OIDC) configuration for a Wickr network, including SSO settings and optional token information if access token parameters are provided.
SELECT
openid_connect_info,
token_info
FROM aws.wickr.oidc_infos
WHERE network_id = '{{ network_id }}' -- required
AND region = '{{ region }}' -- required
AND clientId = '{{ clientId }}'
AND code = '{{ code }}'
AND grantType = '{{ grantType }}'
AND redirectUri = '{{ redirectUri }}'
AND url = '{{ url }}'
AND clientSecret = '{{ clientSecret }}'
AND codeVerifier = '{{ codeVerifier }}'
AND certificate = '{{ certificate }}'
;