---
title: fastly auth
summary: Manage stored Fastly API tokens and token policies
url: https://www.fastly.com/documentation/reference/cli/auth
---

Manage stored Fastly API tokens and token policies

## Subcommands

- [fastly auth add](https://www.fastly.com/documentation/reference/cli/auth/add) - Store a named token
- [fastly auth delete](https://www.fastly.com/documentation/reference/cli/auth/delete) - Delete a stored token
- [fastly auth list](https://www.fastly.com/documentation/reference/cli/auth/list) - List stored tokens and show the default
- [fastly auth login](https://www.fastly.com/documentation/reference/cli/auth/login) - Authenticate and store a default token (paste token or use --sso)
- [fastly auth revoke](https://www.fastly.com/documentation/reference/cli/auth/revoke) - Revoke a token via the API and remove it from local config
- [fastly auth show](https://www.fastly.com/documentation/reference/cli/auth/show) - Show details for a stored token
- [fastly auth token](https://www.fastly.com/documentation/reference/cli/auth/token) - Output the active API token (for use in shell substitutions)
- [fastly auth use](https://www.fastly.com/documentation/reference/cli/auth/use) - Set the default stored token for CLI commands

