
Apache Kafka ScramCredentialCreate
CertifiedCreate or update a Kafka SCRAM user credential
Apache Kafka ScramCredentialCreate
Create or update a Kafka SCRAM user credential
Upserts a SASL/SCRAM credential for a user using the Kafka AdminClient, typically to provision a per-tenant service account.
type: io.kestra.plugin.kafka.ScramCredentialCreateExamples
Provision a SCRAM credential for a tenant service account
id: kafka_scram_credential_create
namespace: company.team
tasks:
- id: create_credential
type: io.kestra.plugin.kafka.ScramCredentialCreate
properties:
bootstrap.servers: localhost:9092
user: tenant-acme-svc
password: "{{ secret('TENANT_ACME_KAFKA_PASSWORD') }}"
mechanism: SCRAM_SHA_512
Properties
password *Requiredstring
Password
properties *Requiredobject
Kafka AdminClient properties
Must include bootstrap.servers; accepts any Kafka AdminClient config. Provide base64-encoded content for ssl.keystore.location and ssl.truststore.location when using SSL.
user *Requiredstring
Username
iterations integerstring
4096Iteration count
Number of SCRAM hashing iterations, between 4096 and 16384. Defaults to 4096.
mechanism string
SCRAM_SHA_512SCRAM_SHA_256SCRAM_SHA_512SCRAM mechanism
Defaults to SCRAM_SHA_512.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
timeout string
PT30SAdminClient call timeout
Maximum duration to wait for each AdminClient operation to complete before failing the task. Defaults to PT30S (30 seconds).
Outputs
iterations integer
Iteration count
mechanism string
SCRAM_SHA_256SCRAM_SHA_512SCRAM mechanism
user string
Username