# pw variables

> Source: https://parallelworks.com/docs/cli/pw/variables

## pw variables

Manage your user variables

```
pw variables [flags]
```

### Examples

```
  # Set a secret variable — value is prompted (hidden), keeping it out of shell history
  pw variables -k GITHUB_TOKEN
  
  # Set a public (non-secret) variable inline
  pw variables --public -k REGION --value us-east-1
  
  # Fully interactive (prompts for key, secret, and value)
  pw variables
  
  # Pass a secret value inline (NOTE: visible in shell history — prefer the prompt above)
  pw variables -k GITHUB_TOKEN --value ghp_xxx
  
  # List your variables
  pw variables list
```

### Options

```
  -h, --help           help for variables
  -k, --key string     Variable key
      --public         Make the variable public (non-secret); variables are secret by default
      --value string   Variable value (omit to be prompted; inline secret values are visible in shell history)
```

### 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](/docs/cli/pw)	 - The Parallel Works ACTIVATE CLI
* [pw variables delete](/docs/cli/pw/variables/delete)	 - Delete a user variable
* [pw variables list](/docs/cli/pw/variables/list)	 - List your user variables
