cli icon indicating copy to clipboard operation
cli copied to clipboard

CLI-3555: Run command with cloud api key instead of user login

Open michie1 opened this issue 1 year ago • 2 comments

Currently I have a service account with a specific role and a cloud api key. I would like to run a command (e.g. creating a role binding) by using this cloud api key.

confluent login is only meant to login a user (with email+password or SSO) and confluent api-key store/use is only meant for kafka clusters, if I'm not mistaken.

My current workaround would be to use the Confluent Cloud API I think, but it would be nice if we could use the confluent cli as well. Did I miss something or is this not possible?

michie1 avatar Mar 26 '24 07:03 michie1

H Confluent team, any updates on this?

southwolf avatar Mar 27 '25 08:03 southwolf

We would also be interested in this functionality, so that we can use the Confluent CLI to automatically run some commands against Confluent Cloud from a shell script running inside a service.