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

<a id="confluent-kafka-license-update"></a>

# confluent kafka license update

## Description

Validate and store a Confluent Platform license.

```none
confluent kafka license update [flags]
```

## Flags

```none
    --license string                      REQUIRED: JWT-encoded license, or path to a file containing one, to validate and store.
    --dry-run                             Validate the license and report the resulting state without storing it.
    --url string                          Base URL of REST Proxy Endpoint of Kafka Cluster (include "/kafka" for embedded Rest Proxy). Must set flag or CONFLUENT_REST_URL.
    --certificate-authority-path string   Path to a PEM-encoded Certificate Authority to verify the Confluent REST Proxy.
    --client-cert-path string             Path to client cert to be verified by Confluent REST Proxy. Include for mTLS authentication.
    --client-key-path string              Path to client private key, include for mTLS authentication.
    --no-authentication                   Include if requests should be made without authentication headers and user will not be prompted for credentials.
    --prompt                              Bypass use of available login credentials and prompt for Kafka Rest credentials.
-o, --output string                       Specify the output format as "human", "json", or "yaml". (default "human")
```

## 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

Update the license from a file.

```none
confluent kafka license update --license license.jwt --url http://localhost:8090/kafka
```

Validate a license without storing it.

```none
confluent kafka license update --license license.jwt --dry-run --url http://localhost:8090/kafka
```

## See Also

* [confluent kafka license](index.md#confluent-kafka-license) - Manage Confluent Platform licenses.
