# pw kube auth

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

## pw kube auth

Set up cluster configuration

### Synopsis

The **pw kube auth** command must be followed by a cluster name.

```
pw kube auth [cluster name] [flags]
```

### Examples

```
  # Sets up kubectl context for  **demo** cluster
  pw kube auth demo
```

### Options

```
  -h, --help                help for auth
      --no-context-switch   Skip switching to the new context after configuration
```

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