# Event driven Ansible Controller - Custom Credentials to rulebooks - example kafka user name and passwords

**URL:** <https://forum.ansible.com/t/event-driven-ansible-controller-custom-credentials-to-rulebooks-example-kafka-user-name-and-passwords/8218>\
**Category:** Get Help\
**Tags:** event-driven, eda-operator, awx\
**Created:** [September 2, 2024, 8:23am UTC](https://forum.ansible.com/t/event-driven-ansible-controller-custom-credentials-to-rulebooks-example-kafka-user-name-and-passwords/8218 "2024-09-02T08:23:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [September 2, 2024, 8:23am UTC](https://forum.ansible.com/t/event-driven-ansible-controller-custom-credentials-to-rulebooks-example-kafka-user-name-and-passwords/8218/1 "2024-09-02T08:23:23Z")

</div>

I am giving a first go at using Event Driven Ansible with the operator. I have it deployed to the cluster and have my first eda resource! I have also tested using event driven ansible on the commandline.

I am going to listen to kafka . I have events going into kafka . Now I am setting up the rulebook side and configure EDA . One thing that I am wondering about…is as my kafka instance has a username and password, SASLusername/password, how can i put that into the eda instance? The credential manager only has gitlab/github container registry credentials? I thought it would follow the same setup as AAP/AWX?

Do i need to vault up my credentials for kafka event source?

Many thanks for the help

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [September 2, 2024, 11:11pm UTC](https://forum.ansible.com/t/event-driven-ansible-controller-custom-credentials-to-rulebooks-example-kafka-user-name-and-passwords/8218/2 "2024-09-02T23:11:48Z")

</div>

okay for now i have created extra vars for the username and password in the rule activations. And created variables in the rulebook. As i am just testing how EDA works this is sufficient. A lot of potential, (I can see options for credential\_types being developed in github repos) but I don’t think its ready to be used in prod just yet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [October 2, 2024, 11:12pm UTC](https://forum.ansible.com/t/event-driven-ansible-controller-custom-credentials-to-rulebooks-example-kafka-user-name-and-passwords/8218/3 "2024-10-02T23:12:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
