跳转到内容

mise token gitlab ​

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)

相关文档 ​