Skip to main content

Show

expanso-cli profile show

Show profile details

Synopsis

Display the full configuration for a profile in YAML format.

What You See:

Complete profile configuration including: • Endpoint URL • Authentication configuration (tokens are redacted by default) • TLS settings • Timeout settings • Description and metadata

Token Security:

By default, authentication tokens are redacted (shown as "tok_****...xyz"). Use --show-token flag to display the full token when needed for export or debugging.

Use Cases:

• Verify profile configuration before using • Debug connection issues • Export profile for backup or sharing • Check which authentication method is configured • Review TLS settings

Output Format:

Output is YAML format to enable easy parsing and export. Use shell redirection (>) to save to a file for backup or transfer.

expanso-cli profile show PROFILE_NAME [flags]

Examples

  # Show production profile details (tokens redacted)
expanso-cli profile show production

# Show profile with full token
expanso-cli profile show production --show-token

# Export profile to file (for backup)
expanso-cli profile show production --show-token > prod-profile.yaml

Options

  -h, --help         help for show
--show-token Display full authentication token (not redacted)

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