← 返回命令列表

Linux command

az-logout 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Logout

az logout

Example

az logout --username [user@example.com]

说明

az logout removes stored authentication credentials for the Azure CLI. It clears access tokens and refresh tokens from the local credential cache. The command is useful when switching between accounts or securing a shared system.

参数

--username _user_
Logout specific account

FAQ

What is the az-logout command used for?

az logout removes stored authentication credentials for the Azure CLI. It clears access tokens and refresh tokens from the local credential cache. The command is useful when switching between accounts or securing a shared system.

How do I run a basic az-logout example?

Run `az logout` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --username _user_ do in az-logout?

Logout specific account