add new chinese translations
This commit is contained in:
24
pages.zh/common/doctl-auth.md
Normal file
24
pages.zh/common/doctl-auth.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# doctl 认证
|
||||
|
||||
> 使用 API 令牌对 `doctl` 进行认证。
|
||||
> 更多信息请访问:<https://docs.digitalocean.com/reference/doctl/reference/auth/>.
|
||||
|
||||
- 打开提示以输入 API 令牌并标记其上下文:
|
||||
|
||||
`doctl auth init --context {{token_label}}`
|
||||
|
||||
- 列出认证上下文(API 令牌):
|
||||
|
||||
`doctl auth list`
|
||||
|
||||
- 切换上下文(API 令牌):
|
||||
|
||||
`doctl auth switch --context {{token_label}}`
|
||||
|
||||
- 移除存储的认证上下文(API 令牌):
|
||||
|
||||
`doctl auth remove --context {{token_label}}`
|
||||
|
||||
- 显示可用命令:
|
||||
|
||||
`doctl auth --help`
|
Reference in New Issue
Block a user