Skip to main content

List

expanso-cli profile list

List all profiles

Synopsis

List all configured connection profiles.

WHAT YOU SEE (default view): • Profile names • Current profile indicator (marked with *) • Endpoint URLs (control plane or edge nodes) • Authentication type (token or none) • Last updated timestamp

WHAT YOU SEE (--wide mode): All default columns plus: • TLS status (secure or insecure) • Profile descriptions

Use Cases:

• See all available environments • Find which profile is currently active • Verify endpoint configurations before switching • Check when profiles were last modified

The current profile (marked with *) is used when you don't specify -p/--profile flag with commands.

expanso-cli profile list [flags]

Examples

  # List profiles in table format
expanso-cli profile list

# Output as YAML
expanso-cli profile list -f yaml

# Output as JSON
expanso-cli profile list -f json

# Show all columns
expanso-cli profile list --wide

Options

  -f, --format {table|json|yaml|csv}   Output format (default table)
-h, --help help for list
--no-header Hide table headers (table format only)
--no-style Disable colors and styling
-w, --wide Show full values without truncation (table format only)

Options inherited from parent commands

      --auth-token string   API bearer authentication token
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging

SEE ALSO

Auto generated by spf13/cobra on 19-Nov-2025