## pyre auth

Log in, log out, and manage API tokens

### Synopsis

Tokens are created on the dashboard (Account > API tokens) or with
"pyre auth token create". A token belongs to one user; it acts as that
user and nobody else. Log in once and the token is kept in the config
file (0600, refused if it becomes readable by others).

```
pyre auth [flags]
```

### Options

```
  -h, --help   help for auth
```

### 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](pyre.md)	 - Pyre: disaster-recovery backup as a service
* [pyre auth enroll](pyre_auth_enroll.md)	 - Sign this computer in with a one-time enrolment code from the Download page
* [pyre auth enroll-code](pyre_auth_enroll-code.md)	 - Mint a one-time code (24 h) that signs another computer in
* [pyre auth login](pyre_auth_login.md)	 - Save an API token after checking it against the API
* [pyre auth logout](pyre_auth_logout.md)	 - Forget the saved token (the token itself stays valid until revoked)
* [pyre auth token](pyre_auth_token.md)	 - Create, list, revoke and remove API tokens
* [pyre auth whoami](pyre_auth_whoami.md)	 - Show who the saved token acts as

