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

Open
#2,696 3 comments 3 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go

Research direction

Start by reviewing the CLI entry points for confluent login, confluent api-key store/use, and the role-binding command. Determine how cloud API-key authentication should differ from user login and Kafka cluster keys, then verify the chosen behavior against the requested service-account workflow.

Written by the indexing model from the issue text.

Description

enhancement

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?

Dominant language
Go
Stars
82
Forks
37
Avg merge
1d 13h
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from confluentinc/cli

All issues in confluentinc/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.