# HTTPS tokens

> Fine-grained tokens that expire, for scripts and CI.

Applies to: Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/access/https-tokens/

For agents: HTTPS tokens (prefix syp_git_): fine-grained by repository and permission (contents read/write, issues, pull requests, webhooks), expiry required (max 1 year), shown once, stored hashed. Use as the password with any username over HTTPS, or Bearer on the API. Revoke anytime; leaked-token scanning revokes tokens found in public places.

A token is for something that is not you at a keyboard: a script, a CI job, another service.

- **Fine-grained**: which repositories, and what on each (code read or write, issues, pull requests, webhooks).
- **Expires**: you choose when, up to one year. No token lasts forever.
- **Shown once**, then stored only as a hash. It starts with `syp_git_`, so scanners can find it if it leaks.

```bash
git clone https://git.app.sypnia.com/laespiga/web.git
# Username: anything · Password: the token
```

For your own machine, prefer [your Sypnia session](https://git.docs.sypnia.com/access/sypnia-session): nothing to paste, nothing to rotate.
