table of contents
| glab(1) | glab(1) |
NAME¶
glab-service-account-list - List service accounts.
SYNOPSIS¶
glab service-account list [flags]
DESCRIPTION¶
List the service accounts of a project or a group.
OPTIONS¶
-g, --group="" List the service accounts of a group instead of a project. Accepts a group ID or full path.
--jq="" Filter JSON output with a jq expression.
-F, --output="text" Format output as: text, json.
-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.
OPTIONS INHERITED FROM PARENT COMMANDS¶
-h, --help[=false] Show help for this command.
EXAMPLE¶
# List the current project's service accounts glab service-account list # List the service accounts of a specific project glab service-account list --repo user/my-repo # List a group's service accounts glab service-account list --group my-group # Print the ID and username of each service account glab service-account list --output json --jq '.[] | "\(.id) \(.username)"'
SEE ALSO¶
| Nov 2026 | Auto generated by spf13/cobra |