Authorization header.
Header format
<token> is your PAT (a string that begins with yrt_).
Getting a token
Option 1: Generate a PAT in the web app (recommended for API consumers)
- Sign in at yertle.com and open your settings page.
- Under Personal Access Tokens, click Create token, give it a descriptive name (e.g. “my laptop”, “CI runner”), and optionally set an expiry.
- Copy the token that begins with
yrt_.... You’ll only see it once.
Option 2: Yertle CLI
The Yertle CLI wraps PAT creation and storage — useful if you’d rather not manage the token yourself:~/.yertle/config.json. Subsequent yertle commands read from that file automatically.
Token lifetime
Personal Access Tokens don’t expire unless you set an expiration when creating them. Rotate by creating a new token, updating your scripts/CI, then revoking the old one from the settings page — other tokens are unaffected.Errors
When you receive a 401, verify the token hasn’t been revoked in the settings page. Generate a new PAT if needed.
Permissions and roles
Authentication identifies who you are. Authorization is enforced per organization based on your role:
See Concepts for more on roles and the organization model.