1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:22:09 +02:00

az-login, az-logout: add traditional Chinese translation (#14335)

This commit is contained in:
Poy Chang 2024-10-26 03:00:17 +08:00 committed by GitHub
parent 1f3988c1f3
commit d742372dad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# az login
> 登入到 Azure。
> `azure-cli` 的一部分(也稱為 `az`)。
> 更多資訊:<https://learn.microsoft.com/cli/azure/reference-index#az-login>.
- 以互動方式進行登入:
`az login`
- 使用客戶端密鑰登入服務主體:
`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{secret}} --tenant {{someone.onmicrosoft.com}}`
- 使用客戶端憑證登入服務主體:
`az login --service-principal --username {{http://azure-cli-service-principal}} --password {{路徑/到/憑證.pem}} --tenant {{someone.onmicrosoft.com}}`
- 使用 VM 的系統指派身份登入:
`az login --identity`
- 使用 VM 的使用者分配身份登入:
`az login --identity --username /subscriptions/{{subscription_id}}/resourcegroups/{{my_rg}}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{{my_id}}`

View file

@ -0,0 +1,13 @@
# az logout
> 登出 Azure 訂閱。
> `azure-cli` 的一部分(也稱為 `az`)。
> 更多資訊:<https://learn.microsoft.com/cli/azure/reference-index#az-logout>.
- 登出當前帳號:
`az logout`
- 登出指定使用者:
`az logout --username {{alias@somedomain.com}}`