mise token gitlab
- 用法:
mise token gitlab [--unmask] [HOST] - 效果: 只读
- 源代码:
src/cli/token/gitlab.rs
Show the GitLab token mise uses for a host
Shows the token and where it came from, to debug authentication. The token is masked unless you pass --unmask.
参数
[HOST]— GitLab 主机名默认值:
gitlab.com
标志
--unmask— 显示完整的未隐藏 token-h --help— 显示帮助
示例
Show the token for gitlab.com
mise token gitlab
gitlab.com: glpa…xxxx (source: GITLAB_TOKEN)Show the whole token
mise token gitlab --unmask
gitlab.com: glpat-xxxxxxxxxxxx (source: GITLAB_TOKEN)Check a self-managed GitLab instance
mise token gitlab gitlab.mycompany.com
gitlab.mycompany.com: (none)