File size: 2,074 Bytes
76d9c4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
title: vessl configure
version: EN
---

### **Setup a** VESSL **environment** 

```
vessl configure [OPTIONS]
```

| Option                     | Description                                |
| -------------------------- | ------------------------------------------ |
| `-t`, `--access-token`     | Access token used for authorization        |
| `-o`, `--organization`     | Default organization                       |
| `-p`, `--project`          | Default project                            |
| `-f`, `--credentials-file` | Path to file containing configuration data |
| `--renew-token`            | Renew access token                         |

### **Change the default organization**

Set the default organization so that you do not enter the organization every time you execute the `vessl` command.

```
vessl configure organization [ORGANIZATION]
```

| Argument       | Description              |
| -------------- | ------------------------ |
| `ORGANIZATION` | New default organization |

### **Change the default project**

Set the default organization so that you do not enter the project every time you execute the `vessl` command.

```
vessl configure project [PROJECT]
```

| Argument  | Description         |
| --------- | ------------------- |
| `PROJECT` | New default project |

### **View the current configuration**

```
vessl configure list
```

### Configuration Precedence

You can configure your VESSL environment in multiple ways. Here is a list of ways, in order of precedence.

1. Command line arguments / options: `-o` , `-p` options and `ORGANIZATION` , `PROJECT` arguments.
2. Credentials file option: `-f` , a path to a file containing configuration data.
3. Environment variables: `VESSL_ACCESS_TOKEN`, `VESSL_DEFAULT_ORGANIZATION` .
4. Credentials file environment variable: `VESSL_CREDENTIALS_FILE` .
5. Default credentials file: a configuration file maintained by VESSL located at `~/.vessl/config` .

<Note>The `--renew-token` flag for `vessl configure` will take precedence over other methods and renew your access token.</Note>