---
title: "subako token"
description: "Print the signed-in credential as JSON, for a program that calls the API as you: the server, an access token and when it lapses, and the selected workspace"
---

[CLI reference](/cli)

## `subako token`

Print the signed-in credential as JSON, for a program that calls the API as you: the server, an access token and when it lapses, and the selected workspace

### Usage

```text
Usage: subako token [OPTIONS]
```

### Options

#### `--profile <PROFILE>`

Credential profile to use. Defaults to the current one


#### `--renew`

Mint a new access token even if the stored one has time left

- Default: `false`.

#### `--credentials-file <CREDENTIALS_FILE>`

Path to the credentials file. Defaults to SUBAKO_CREDENTIALS_FILE, then ~/.config/subako/credentials.json.


#### `--help`

Print help

- Short option: `-h`.
