Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify ways to specify an access token #320

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,17 @@ Create a Tower access token using the [Tower](https://tower.nf/) web interface v

Providing `tw` access to Tower with your access token can be achieved in several ways:

1. Export it directly into your terminal:
- By setting an environment variable:

```bash
export TOWER_ACCESS_TOKEN=<your access token>
```
1. Export the token as a shell variable directly into your terminal:

```bash
export TOWER_ACCESS_TOKEN=<your access token>
```

2. Add the above `export` command to a file such as `.bashrc` to be automatically added into your environment.
2. Add the above `export` command to a file such as `.bashrc` to be automatically added into your environment.

3. Specify your token as a parameter when running `tw`:
- By specifying the `--access-token` parameter:

```bash
tw --access-token=<your access token> <other options>
Expand Down
Loading