## pyre admin exports setup-hub

Configure a hub's HTTPS download endpoint for its public name (certificate from Let's Encrypt)

### Synopsis

Runs export-setup on the hub: the web server serves /x/<token>/<file>
from /srv/export/public under the hub's address, and nothing else. Done
once per hub; a hub built from the current paste blocks has it already.
The hub needs ports 80 and 443 reachable from the internet.

```
pyre admin exports setup-hub <hub name> [flags]
```

### Examples

```
  pyre admin exports setup-hub hub-a
```

### Options

```
  -h, --help   help for setup-hub
```

### Options inherited from parent commands

```
      --api string       API base URL (default from the profile, or https://api.pyredata.io)
      --ca-cert string   PEM file with an extra CA to trust (self-hosted managers)
      --insecure         skip TLS certificate verification (lab use only)
  -o, --output string    output format: table, json or plain (default "table")
      --profile string   config profile to use (see: pyre config)
  -q, --quiet            print results only, no notices
      --token string     API token (default from the profile; prefer PYRE_TOKEN in scripts)
  -y, --yes              answer yes to every confirmation (for scripts)
```

### SEE ALSO

* [pyre admin exports](pyre_admin_exports.md)	 - Export downloads: list, create for any tenant, remove, set up a hub's endpoint

