> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly tokens 3p

Add, manage, and discharge third-party tokens for a Fly.io API token.
The token to be manipulated may either be passed in the -t argument or in FLY\_API\_TOKEN.
Third-party caveats rely on a secret shared with between the third party and the
author of the caveat. Pass this secret with --secret, --secret-file, or through the
TOKEN\_3P\_SHARED\_SECRET variable.

## Usage

```
fly tokens 3p [command] [flags]
```

## Available Commands

* [add](/flyctl/cmd/fly_tokens_3p_add)	 - Add a third-party caveat
* [add-discharge](/flyctl/cmd/fly_tokens_3p_add-discharge)	 - Tack a discharge token onto a Fly.io API token
* [discharge](/flyctl/cmd/fly_tokens_3p_discharge)	 - Exchange a ticket for the token that discharges a third-party caveat
* [ticket](/flyctl/cmd/fly_tokens_3p_ticket)	 - Retrieve the ticket from an existing third-party caveat

## Options

```
  -h, --help   help for 3p
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly tokens](/flyctl/cmd/fly_tokens)	 - Manage Fly.io API tokens
