## pyre auth enroll

Sign this computer in with a one-time enrolment code from the Download page

```
pyre auth enroll <code|link> [flags]
```

### Examples

```
  pyre auth enroll pyre-k3Jx...                   # the code as shown
  pyre auth enroll 'pyredata://enroll?code=pyre-k3Jx...&api=https://api.pyredata.io'
```

### Options

```
      --api string       API base URL (default: the link's, else the current profile's)
      --ca-cert string   PEM file with the manager's CA (self-hosted)
  -h, --help             help for enroll
      --profile string   save under this profile name and make it current
```

### Options inherited from parent commands

```
      --insecure        skip TLS certificate verification (lab use only)
  -o, --output string   output format: table, json or plain (default "table")
  -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 auth](pyre_auth.md)	 - Log in, log out, and manage API tokens

