This command lists the Endpoints for an App or Database.

Synopsis

Usage:
  aptible endpoints:list [--app APP | --database DATABASE]

Options:
      [--app=APP]
      [--environment=ENVIRONMENT]
  -r, [--remote=REMOTE]
      [--database=DATABASE]

Examples

List Endpoints for an App

aptible endpoints:list \
        --app "$APP_HANDLE"

List Endpoints for a Database

aptible endpoints:list \
        --database "$DATABASE_HANDLE"

Sample Output

Service: cmd
Hostname: elb-foobar-123.aptible.in
Status: provisioned
Type: https
Port: default
Internal: false
IP Whitelist: all traffic
Default Domain Enabled: false
Managed TLS Enabled: true
Managed TLS Domain: app.example.com
Managed TLS DNS Challenge Hostname: acme.elb-foobar-123.aptible.in
Managed TLS Status: ready

📘 The above block is repeated for each matching Endpoint.