influxdata / influxdata/influx-cli
allow users to configure the CLI using their cloud login/password
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
many CLI tools for cloud products allow users to run a command to log into their cloud account and configure their CLI tool.
https://firebase.google.com/docs/cli#sign-in-test-cli
https://devcenter.heroku.com/articles/heroku-cli#getting-started
https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli#sign-in-interactively
This issue would add the ability to install the `influx` cli and then login to your InfluxDB Cloud account and configure the connection, without first having to go through the UI to create a token.
The common pattern i see is the CLI generating a url and opening a browser window such that you can log in using the standard oauth flow. You are then asked to complete the steps back in the command line.
At the end of the process, the user would have a cli configured to connect to cloud using an all access token.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing influx CLI configuration and authentication flow. Compare the proposed browser-based OAuth flow with the linked Firebase, Heroku, and Azure CLI examples. Done should include a command that signs users into InfluxDB Cloud and leaves the CLI configured with an all-access token.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, cli, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100