Vultr Managed Apache Kafka® user management feature allows customers to easily add or delete users from their Kafka instance and manage user permissions. This intuitive interface streamlines access control, enabling organizations to define roles and responsibilities for each user, ensuring secure and efficient collaboration. With flexible permission settings, tailoring the user experience to meet their operational needs while maintaining security protocols.
Follow this guide to manage users for Vultr Managed Apache Kafka® with Vultr Customer Portal, API, and CLI.
Navigate to Products and select Databases.
Select the target database.
Navigate to Topic & Users to manage Users for Vultr Managed Apache Kafka®.
Click Add New User.
Provide values for Username, Permissions, and Password. Click Create New User.
List all the databases by sending a GET
request to the List Managed Databases endpoint and note the target database's ID.
$ curl "https://api.vultr.com/v2/databases" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a POST
request to the Create Database User endpoint to create a new user for your database.
$ curl "https://api.vultr.com/v2/databases/<database-id>/users" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"username": "user1",
"password": "p@ssWord123#",
"permission": "readwrite"
}'
Send a GET
request to the List Database Users endpoint to list all the users.
$ curl "https://api.vultr.com/v2/databases/<database-id>/users" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a DELETE
request to Delete Database User endpoint
$ curl "https://api.vultr.com/v2/databases/{database-id}/users/{username}" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all databases and note the target database's ID.
$ vultr-cli database list --summarize
List all the users.
$ vultr-cli database user list <database-id>
Delete a user.
$ vultr-cli database user delete <database-id> <user-name>
Run vultr-cli database update --help
to view all options.