> ## 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 auth

Authenticate with Fly (and logout if you need to).
If you do not have an account, start with the AUTH SIGNUP command.
If you do have an account, begin with the AUTH LOGIN subcommand.

## Usage

```
fly auth [command] [flags]
```

## Available Commands

* [docker](/flyctl/cmd/fly_auth_docker)	 - Authenticate docker
* [login](/flyctl/cmd/fly_auth_login)	 - Log in a user
* [logout](/flyctl/cmd/fly_auth_logout)	 - Logs out the currently logged in user
* [signup](/flyctl/cmd/fly_auth_signup)	 - Create a new fly account
* [whoami](/flyctl/cmd/fly_auth_whoami)	 - Displays the users email address/service identity currently
  authenticated and in use.

## Options

```
  -h, --help   help for auth
```

## Global Options

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

## See Also

* [fly](/flyctl/cmd/fly_help)	 - The Fly.io command line interface
