Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Kafka clusters

Create an admin Kafka user

POST/kafka-clusters/{uuid}/admin-users

Creates an admin-profile Kafka user. Strimzi generates its password, which is returned if the user becomes active within a few seconds; otherwise the response has a warning and the user's password is available from the credentials endpoint once it is active. Admin-profile users have cluster-wide Kafka ACLs, including every replicated topic. Company admins only.

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request POST \
  --url https://api.artie.com/kafka-clusters/{uuid}/admin-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>"
}'

Path parameters

  • uuidstringrequired

Body

application/json

  • usernamestringrequired

Responses

200OKapplication/json

  • kafkaUserobjectrequired
    Show child attributes
    • accessProfilestringrequired
    • consumerGroupPrefixstringrequired
    • createdAtstring<date-time>required
    • statusstringrequired
    • usernamestringrequired
    • uuidstring<uuid>required
  • passwordstring

    The SCRAM-SHA-512 password Strimzi generated, returned when the user is already active. Otherwise get it from the credentials endpoint once the user is active.

  • warningstring

400Bad Request

404Not Found

409Conflict

500Internal Server Error

200 OK
{
  "kafkaUser": {
    "accessProfile": "<string>",
    "consumerGroupPrefix": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "status": "<string>",
    "username": "<string>",
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "password": "<string>",
  "warning": "<string>"
}

Was this page helpful?