Skip to main content

scram_secrets

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

Overview

Namescram_secrets
TypeResource
Idaws.kafka.scram_secrets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
secret_arnstringThe list of scram secrets associated with the cluster.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_scram_secretsselectcluster_arn, regionmaxResults, nextTokenReturns 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.

NameDatatypeDescription
cluster_arnstringThe arn of the cluster.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maxResults of the query.
nextTokenstringThe nextToken of the query.

SELECT examples

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 }}'
;