Skip to main content

opentdf_configs

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

Overview

Nameopentdf_configs
TypeResource
Idaws.wickr.opentdf_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
client_idstringThe OIDC client ID used for authenticating with the OpenTDF provider. (pattern: <code>[\S\s]*</code>)
client_secretstringThe OIDC client secret used for authenticating with the OpenTDF provider. (pattern: <code>[\S\s]*</code>)
domainstringThe domain of the OpenTDF server. (pattern: <code>[\S\s]*</code>)
providerstringThe provider of the OpenTDF platform. (pattern: <code>[\S\s]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_opentdf_configselectnetwork_id, regionRetrieves the OpenTDF integration configuration for a Wickr network.
register_opentdf_configinsertnetwork_id, region, clientId, clientSecret, domain, providerdryRunRegisters and saves OpenTDF configuration for a Wickr network, enabling attribute-based access control for Wickr through an OpenTDF provider.

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
network_idstringThe ID of the Wickr network for which OpenTDF integration will be configured.
regionstringAWS region (default: us-east-1)
dryRunbooleanPerform dry-run test connection of OpenTDF configuration (optional).

SELECT examples

Retrieves the OpenTDF integration configuration for a Wickr network.

SELECT
client_id,
client_secret,
domain,
provider
FROM aws.wickr.opentdf_configs
WHERE network_id = '{{ network_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Registers and saves OpenTDF configuration for a Wickr network, enabling attribute-based access control for Wickr through an OpenTDF provider.

INSERT INTO aws.wickr.opentdf_configs (
clientId,
clientSecret,
domain,
provider,
network_id,
region,
dryRun
)
SELECT
'{{ clientId }}' /* required */,
'{{ clientSecret }}' /* required */,
'{{ domain }}' /* required */,
'{{ provider }}' /* required */,
'{{ network_id }}',
'{{ region }}',
'{{ dryRun }}'
RETURNING
client_id,
client_secret,
domain,
provider
;