Skip to content

Whoami

pipeleek gl whoami

Display current GitLab user and token details

Synopsis

Fetch and display details about the currently authenticated GitLab user and the current personal access token.

pipeleek gl whoami [flags]

Examples

pipeleek gl whoami --token glpat-xxxxxxxxxxx --url https://gitlab.mydomain.com

Options

1
2
3
  -h, --help           help for whoami
  -t, --token string   GitLab API Token
  -u, --url string     GitLab instance URL

Options inherited from parent commands

      --color                   Enable colored log output (auto-disabled when using --logfile) (default true)
      --config string           Config file path. Example: ~/.config/pipeleek/pipeleek.yaml
      --http-timeout duration   HTTP request timeout, e.g. 30s or 2m (default: no timeout)
      --ignore-proxy            Ignore HTTP_PROXY environment variable
      --json                    Use JSON as log output format
      --log-level string        Set log level globally (debug, info, warn, error). Example: --log-level=warn
  -l, --logfile string          Log output to a file
      --proxy string            Proxy URL, e.g. http://127.0.0.1:8080 or socks5://127.0.0.1:1080 (takes precedence over HTTP_PROXY)
      --tls-verification        Enable TLS certificate verification (by default verification is skipped to support self-signed certificates)
  -v, --verbose                 Enable debug logging (shortcut for --log-level=debug)

SEE ALSO