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

# squarecloud auth login

> 用于在 Square Cloud CLI 中进行身份验证的命令。

```bash theme={null}
squarecloud auth login
```

系统将提示你输入 API 密钥。

```bash Insert your square cloud api token theme={null}
Your API Token:
> Insert your square cloud api token
```

```bash Output	  theme={null}
Your API Token has successfully changed! You are now logged in as <username>
With great power comes great responsibility!
```

提示：你可以通过 `--token` 标志传入 API 密钥来跳过提示：

```bash theme={null}
squarecloud auth login --token=<API key>
```
