---
title: "Comandos Auth"
url: "https://openclaw.ia.br/comandos/auth/"
markdown_url: "https://openclaw.ia.br/comandos/auth.MD"
description: "Gerenciamento de autenticação e API keys."
date: ""
author: ""
---

# Comandos Auth

Gerenciamento de autenticação e API keys.


# Comandos Auth

Gerencie credenciais e autenticação.

## Adicionar Credenciais

```bash
# Claude/Anthropic
openclaw auth add anthropic

# OpenAI
openclaw auth add openai

# Serviços
openclaw auth add gmail
openclaw auth add github --token TOKEN
openclaw auth add notion --token TOKEN
```

## Listar Credenciais

```bash
openclaw auth list
```

## Atualizar

```bash
openclaw auth refresh gmail
```

## Remover

```bash
openclaw auth remove github
```

## Testar

```bash
# Verificar se credenciais funcionam
openclaw auth test anthropic
openclaw auth test gmail
```

## Profiles

```bash
# Listar perfis de modelo
openclaw auth profiles

# Usar perfil específico
openclaw agent --profile anthropic:claude-opus
```
