shared_tokens
Creates, updates, deletes, gets or lists a shared_tokens resource.
Overview
| Name | shared_tokens |
| Type | Resource |
| Id | confluent.stream_sharing.shared_tokens |
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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
resources_cdx_v1_shared_token | exec | token | Validate and decrypt the shared token and view token's shared resources | |
redeem_cdx_v1_shared_token | exec | token | Redeem the shared token for shared topic and cluster access information |
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 |
|---|
Lifecycle Methods
- resources_cdx_v1_shared_token
- redeem_cdx_v1_shared_token
Validate and decrypt the shared token and view token's shared resources
EXEC confluent.stream_sharing.shared_tokens.resources_cdx_v1_shared_token
@@json=
'{
"token": "{{ token }}"
}'
;
Redeem the shared token for shared topic and cluster access information
EXEC confluent.stream_sharing.shared_tokens.redeem_cdx_v1_shared_token
@@json=
'{
"token": "{{ token }}",
"aws_account": "{{ aws_account }}",
"azure_subscription": "{{ azure_subscription }}",
"gcp_project": "{{ gcp_project }}"
}'
;