scram_secrets
Creates, updates, deletes, gets or lists a scram_secrets resource.
Overview
| Name | scram_secrets |
| Type | Resource |
| Id | aws.kafka.scram_secrets |
Fields
The following fields are returned by SELECT queries:
- list_scram_secrets
| Name | Datatype | Description |
|---|---|---|
secret_arn | string | The list of scram secrets associated with the cluster. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_scram_secrets | select | cluster_arn, region | maxResults, nextToken | Returns a list of the Scram Secrets associated with an Amazon MSK cluster. |
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 |
|---|---|---|
cluster_arn | string | The arn of the cluster. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maxResults of the query. |
nextToken | string | The nextToken of the query. |
SELECT examples
- list_scram_secrets
Returns a list of the Scram Secrets associated with an Amazon MSK cluster.
SELECT
secret_arn
FROM aws.kafka.scram_secrets
WHERE cluster_arn = '{{ cluster_arn }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;