cub serviceaccount get
cub serviceaccount get
Get details about a service account
Synopsis
Get detailed information about a ServiceAccount entity, including the user it acts as.
Examples:
# Get service account details in table format
cub serviceaccount get deploy-bot
# Get the ID of the user the service account acts as, to grant it access
cub serviceaccount get deploy-bot -o jq=.ServiceAccount.UserID
cub serviceaccount get <name or id> [flags]
Options
-h, --help help for get
-o, --output string Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
--quiet No default output.
--select string Comma-separated list of fields to retrieve and display. Entity IDs and Slug are always included. Example: "DisplayName,CreatedAt,Labels"
--verbose Detailed output, additive with default output
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
SEE ALSO
- cub serviceaccount - Service account commands