---
title: influxctl auth
description: The influxctl auth command and its subcommands let a user log in to and log out of an InfluxDB cluster.
url: https://docs.influxdata.com/influxdb3/clustered/reference/cli/influxctl/auth/
estimated_tokens: 338
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/clustered/reference/cli/influxctl/auth/
date: '2025-01-13T07:21:11-07:00'
lastmod: '2025-01-13T07:21:11-07:00'
---

The `influxctl auth` command and its subcommands let a user log in to and log out of an InfluxDB cluster.

## Usage

```sh
influxctl auth [subcommand] [subcommand options] [arguments...]
```

## Subcommands

|                            Subcommand                             |                            Description                            |
|-------------------------------------------------------------------|-------------------------------------------------------------------|
| [login](/influxdb3/clustered/reference/cli/influxctl/auth/login/) |Log in to an InfluxDB cluster using the cluster’s identity provider|
|[logout](/influxdb3/clustered/reference/cli/influxctl/auth/logout/)|                        Remove local tokens                        |
|                              help, h                              |                        Output command help                        |

## Flags

|Flag|        |    Description    |
|----|--------|-------------------|
|`-h`|`--help`|Output command help|
| Subcommand | Description |
| --- | --- |
| Subcommand | Description |
| login | Log in to an InfluxDB cluster using the cluster’s identity provider |
| logout | Remove local tokens |
| help, h | Output command help |

| Flag |  | Description |
| --- | --- | --- |
| Flag |  | Description |
| -h | --help | Output command help |
