influxdata / influxdata/influx-cli

`influx auth list` doesn't support the `?token=` Cloud parameter

Open
#457 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

`influx auth list` doesn't support the `token` query parameter for `GET /api/v2/authorizations`, finding an authorization by its `token` value.

The `token=` query parameter only exists [in Cloud](https://github.com/influxdata/openapi/blob/master/contracts/ref/cloud.yml#L6805).

Here's an [OSS feature request to support `?token=`](https://github.com/influxdata/influxdb/issues/23857).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `influx auth list` command and its request for `GET /api/v2/authorizations`; compare the Cloud contract linked in the issue, especially the `token` query parameter. Done means the command can find an authorization by token, with coverage for the query parameter and existing list behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.