diff --git a/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md b/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md index 583c11985..1aad420ea 100644 --- a/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md +++ b/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md @@ -32,6 +32,7 @@ influxctl [flags] [command] | Command | Description | | :-------------------------------------------------------------------------- | :------------------------------------- | +| [auth](/influxdb/cloud-dedicated/reference/cli/influxctl/auth/) | Log in to or log out of InfluxDB v3 | | [cluster](/influxdb/cloud-dedicated/reference/cli/influxctl/cluster/) | List InfluxDB v3 cluster information | | [database](/influxdb/cloud-dedicated/reference/cli/influxctl/database/) | Manage InfluxDB v3 databases | | [help](/influxdb/cloud-dedicated/reference/cli/influxctl/help/) | Output `influxctl` help information | diff --git a/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/_index.md b/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/_index.md new file mode 100644 index 000000000..5c85ff584 --- /dev/null +++ b/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/_index.md @@ -0,0 +1,32 @@ +--- +title: influxctl auth +description: > + The `influxctl auth` command and its subcommands let a user + log in to and log out of an InfluxDB cluster. +menu: + influxdb_cloud_dedicated: + parent: influxctl +weight: 201 +--- + +The `influxctl auth` command and its subcommands let a user log in to and log out of an {{< product-name omit="Clustered" >}} cluster. + +## Usage + +```sh +influxctl auth [subcommand] [subcommand options] [arguments...] +``` + +## Subcommands + +| Subcommand | Description | +| :----------------------------------------------------------------------- | :------------------------------ | +| [login](/influxdb/cloud-dedicated/reference/cli/influxctl/auth/login/) | Log in to an InfluxDB cluster using InfluxData Auth0 | +| [logout](/influxdb/cloud-dedicated/reference/cli/influxctl/auth/logout/) | Log out of an InfluxDB cluster; remove local authorization tokens | +| help, h | Output command help | + +## Flags + +| Flag | | Description | +| :--- | :------- | :------------------ | +| `-h` | `--help` | Output command help | diff --git a/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/login.md b/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/login.md new file mode 100644 index 000000000..f30d7b76c --- /dev/null +++ b/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/login.md @@ -0,0 +1,29 @@ +--- +title: influxctl auth login +description: > + The `influxctl auth login` command lets a user log in to an InfluxDB cluster using + the InfluxDB Cloud Dedicated identity provider. +menu: + influxdb_cloud_dedicated: + parent: influxctl auth +weight: 301 +--- + +The `influxctl auth login` command lets a user log in to an {{< product-name omit="Clustered" >}} +cluster using InfluxData Auth0. + +## Usage + +```sh +influxctl auth login +``` + +## Flags + +| Flag | | Description | +| :--- | :--------- | :-------------------------------------------- | +| `-h` | `--help` | Output command help | + +{{% caption %}} +_Also see [`influxctl` global flags](/influxdb/cloud-dedicated/reference/cli/influxctl/#global-flags)._ +{{% /caption %}} diff --git a/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/logout.md b/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/logout.md new file mode 100644 index 000000000..1d3b96f53 --- /dev/null +++ b/content/influxdb/cloud-dedicated/reference/cli/influxctl/auth/logout.md @@ -0,0 +1,29 @@ +--- +title: influxctl auth logout +description: > + The `influxctl auth logout` command lets a user log out of an InfluxDB + cluster and removes the user's local authorization tokens. +menu: + influxdb_cloud_dedicated: + parent: influxctl auth +weight: 301 +--- + +The `influxctl auth logout` command lets a user log out of an {{< product-name omit="Clustered" >}} +cluster and removes the user's local authorization tokens. + +## Usage + +```sh +influxctl auth logout +``` + +## Flags + +| Flag | | Description | +| :--- | :--------- | :-------------------------------------------- | +| `-h` | `--help` | Output command help | + +{{% caption %}} +_Also see [`influxctl` global flags](/influxdb/cloud-dedicated/reference/cli/influxctl/#global-flags)._ +{{% /caption %}} diff --git a/content/influxdb/cloud-dedicated/reference/release-notes/influxctl.md b/content/influxdb/cloud-dedicated/reference/release-notes/influxctl.md index a01c3c7f8..25c8ecadb 100644 --- a/content/influxdb/cloud-dedicated/reference/release-notes/influxctl.md +++ b/content/influxdb/cloud-dedicated/reference/release-notes/influxctl.md @@ -11,6 +11,24 @@ menu: weight: 202 --- +## v2.9.6 {date="2024-08-15"} + +### Bug Fixes + +- Update query to wait for EOF on stdin instead of the first newline. + +## v2.9.5 {date="2024-08-13"} + +### Bug Fixes + +- Introduce auth login and logout commands. + +### Dependency Updates + +- Update `github.com/urfave/cli/v2` from 2.27.2 to 2.27.4 +- Update `golang.org/x/mod` from 0.19.0 to 0.20.0 +- Update `golang.org/x/oauth2` from 0.21.0 to 0.22.0 + ## v2.9.4 {date="2024-07-25"} ### Bug Fixes diff --git a/content/influxdb/clustered/reference/cli/influxctl/_index.md b/content/influxdb/clustered/reference/cli/influxctl/_index.md index ba60c8071..a7c0bc8ee 100644 --- a/content/influxdb/clustered/reference/cli/influxctl/_index.md +++ b/content/influxdb/clustered/reference/cli/influxctl/_index.md @@ -32,6 +32,7 @@ influxctl [flags] [command] | Command | Description | | :-------------------------------------------------------------------- | :------------------------------------- | +| [auth](/influxdb/clustered/reference/cli/influxctl/auth/) | Log in to or log out of InfluxDB v3 | | [cluster](/influxdb/clustered/reference/cli/influxctl/cluster/) | List InfluxDB v3 cluster information | | [database](/influxdb/clustered/reference/cli/influxctl/database/) | Manage InfluxDB v3 databases | | [help](/influxdb/clustered/reference/cli/influxctl/help/) | Output `influxctl` help information | diff --git a/content/influxdb/clustered/reference/cli/influxctl/auth/_index.md b/content/influxdb/clustered/reference/cli/influxctl/auth/_index.md new file mode 100644 index 000000000..eca4679ca --- /dev/null +++ b/content/influxdb/clustered/reference/cli/influxctl/auth/_index.md @@ -0,0 +1,32 @@ +--- +title: influxctl auth +description: > + The `influxctl auth` command and its subcommands let a user + log in to and log out of an InfluxDB cluster. +menu: + influxdb_clustered: + parent: influxctl +weight: 201 +--- + +The `influxctl auth` command and its subcommands let a user log in to and log out of an {{< product-name omit="Clustered" >}} cluster. + +## Usage + +```sh +influxctl auth [subcommand] [subcommand options] [arguments...] +``` + +## Subcommands + +| Subcommand | Description | +| :----------------------------------------------------------------- | :------------------------------ | +| [login](/influxdb/clustered/reference/cli/influxctl/auth/login/) | Log in to an InfluxDB cluster using the cluster's identity provider | +| [logout](/influxdb/clustered/reference/cli/influxctl/auth/logout/) | Remove local tokens | +| help, h | Output command help | + +## Flags + +| Flag | | Description | +| :--- | :------- | :------------------ | +| `-h` | `--help` | Output command help | diff --git a/content/influxdb/clustered/reference/cli/influxctl/auth/login.md b/content/influxdb/clustered/reference/cli/influxctl/auth/login.md new file mode 100644 index 000000000..d021037d3 --- /dev/null +++ b/content/influxdb/clustered/reference/cli/influxctl/auth/login.md @@ -0,0 +1,29 @@ +--- +title: influxctl auth login +description: > + The `influxctl auth login` command lets a user log in to an InfluxDB cluster + using the cluster's configured identity provider. +menu: + influxdb_clustered: + parent: influxctl auth +weight: 301 +--- + +The `influxctl auth login` command lets a user log in to an {{< product-name omit="Clustered" >}} +cluster using the cluster's configured identity provider. + +## Usage + +```sh +influxctl auth login +``` + +## Flags + +| Flag | | Description | +| :--- | :--------- | :-------------------------------------------- | +| `-h` | `--help` | Output command help | + +{{% caption %}} +_Also see [`influxctl` global flags](/influxdb/clustered/reference/cli/influxctl/#global-flags)._ +{{% /caption %}} diff --git a/content/influxdb/clustered/reference/cli/influxctl/auth/logout.md b/content/influxdb/clustered/reference/cli/influxctl/auth/logout.md new file mode 100644 index 000000000..92a768d04 --- /dev/null +++ b/content/influxdb/clustered/reference/cli/influxctl/auth/logout.md @@ -0,0 +1,29 @@ +--- +title: influxctl auth logout +description: > + The `influxctl auth logout` command lets a user log out of an InfluxDB + cluster and removes the user's local authorization tokens. +menu: + influxdb_clustered: + parent: influxctl auth +weight: 301 +--- + +The `influxctl auth logout` command lets a user log out of an {{< product-name omit="Clustered" >}} +cluster and removes the user's local authorization tokens. + +## Usage + +```sh +influxctl auth logout +``` + +## Flags + +| Flag | | Description | +| :--- | :--------- | :-------------------------------------------- | +| `-h` | `--help` | Output command help | + +{{% caption %}} +_Also see [`influxctl` global flags](/influxdb/clustered/reference/cli/influxctl/#global-flags)._ +{{% /caption %}} diff --git a/content/influxdb/clustered/reference/release-notes/influxctl.md b/content/influxdb/clustered/reference/release-notes/influxctl.md index 9f6c0ce8d..ca796a532 100644 --- a/content/influxdb/clustered/reference/release-notes/influxctl.md +++ b/content/influxdb/clustered/reference/release-notes/influxctl.md @@ -12,6 +12,25 @@ weight: 202 canonical: /influxdb/cloud-dedicated/reference/release-notes/influxctl/ --- +## v2.9.6 {date="2024-08-15"} + +### Bug Fixes + +- Update query subcommand to wait for EOF on stdin instead of the first newline. + +## v2.9.5 {date="2024-08-13"} + +### Bug Fixes + +- Introduce auth login and logout commands. +- Attempt to refresh OAuth tokens when refresh token is present. + +### Dependency Updates + +- Update `github.com/urfave/cli/v2` from 2.27.2 to 2.27.4 +- Update `golang.org/x/mod` from 0.19.0 to 0.20.0 +- Update `golang.org/x/oauth2` from 0.21.0 to 0.22.0 + ## v2.9.4 {date="2024-07-25"} ### Bug Fixes diff --git a/data/products.yml b/data/products.yml index a01d42302..6569cdc80 100644 --- a/data/products.yml +++ b/data/products.yml @@ -55,7 +55,7 @@ influxdb_cloud_dedicated: list_order: 3 latest: cloud-dedicated link: "https://www.influxdata.com/contact-sales-form/" - latest_cli: 2.9.4 + latest_cli: 2.9.6 placeholder_host: cluster-id.a.influxdb.io influxdb_clustered: