Confluent CLI scheme-registry with platform running in docker

Hi,

I have installed the platform using this cp-all-in-one-kraft

Also installed the CLI running this command brew install confluentinc/tap/cli.

I can create topics with using --url and --no-authentication but I can not use schema-registry since --no-authentication is not a valid flag for this command.

For example confluent schema-registry subject list --all --schema-registry-endpoint http://localhost:8081 will return Error: you must log in to use this command.

in ~/.confluent/I only have config.json with following content:

{
  "disable_feature_flags": false,
  "disable_plugins": false,
  "disable_update_check": false,
  "enable_color": true,
  "current_context": ""
}

This is also output of confluent version:

confluent - Confluent CLI

Version:     v4.4.0
Git Ref:     87ede15c
Build Date:  2024-09-12T19:57:36Z
Go Version:  go1.22.2 (darwin/arm64)
Development: false

I tried to find an answer by searching here but couldn’t find any answer, now I’m blocked from using confluent CLI. I would appreciate any help if there’s a way.

Thank you for raising this. There isn’t currently a way to run the Schema Registry commands without login. I’ve raised this with the CLI team and will keep this thread updated.

1 Like