<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-kafka-cluster-endpoint-use"></a>

# confluent kafka cluster endpoint use

## Description

Use a Kafka cluster endpoint as active endpoint for all subsequent Kafka cluster commands in current environment.

```none
confluent kafka cluster endpoint use [flags]
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

Use “[https://lkc-s1232.us-west-2.aws.private.confluent.cloud:443](https://lkc-s1232.us-west-2.aws.private.confluent.cloud:443)” for subsequent Kafka cluster commands.

```none
confluent kafka cluster endpoint use "https://lkc-s1232.us-west-2.aws.private.confluent.cloud:443"
```

## See Also

* [confluent kafka cluster endpoint](index.md#confluent-kafka-cluster-endpoint) - Manage Kafka cluster endpoints.
