# pw kube token

> Source: https://parallelworks.com/docs/cli/pw/kube/token

## pw kube token

Token to authenticate with the Kubernetes API

### Synopsis

The **pw kube token** command must be followed by a cluster name.
Use this command to get a token to authenticate with the Kubernetes API.

```
pw kube token [clientId] [flags]
```

### Examples

```
  # Get a token with the cluster name **demo**
  pw kube token demo
```

### Options

```
  -h, --help   help for token
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw kube](/docs/cli/pw/kube)	 - Kubernetes commands
