This action requires the following credentials:
user— the username under which the action runs.password— the password for that user.
DeleteKafkaUsers — deletes existing SASL/SCRAM users in Kafka.
Request example
securityProtocol: SASL_PLAINTEXT
saslMechanism: PLAIN
users:
- user: example_user_1
mechanism: SCRAM-SHA-256
- user: example_user_2
mechanism: SCRAM-SHA-256Request specification
| Name | Required | Description | Possible values |
|---|---|---|---|
| securityProtocol | Yes | Protocol for connecting to Kafka. For more information, see the Kafka documentation | PLAINTEXT, SASL_PLAINTEXT, SASL_SSL |
| saslMechanism | No | SASL authentication mechanism. Required when using the SASL_PLAINTEXT or SASL_SSL protocol. For more information, see the Kafka documentation | PLAIN, SCRAM-SHA-256, SCRAM-SHA-512 |
| users | Yes | Set of users to delete | - |
| users.user | Yes | Username to delete | - |
| users.mechanism | Yes | Authentication mechanism associated with the user to delete | SCRAM-SHA-256, SCRAM-SHA-512 |