Each token is shown once, when it’s made. The central server keeps only a SHA-256 of it. Every token belongs to your account, and sees and stops only your account’s sandboxes.
Make an API token
In the dashboard, under Tokens, give it a name and, if you like, limits, then Make token. Copy it then: it isn’t shown again.Use it in CI
Set two variables, andephemera run needs no login:
EPHEMERA_STRICT_HOSTS=1 refuses any host it hasn’t pinned yet, so a host key can’t be trusted silently. A fresh CI runner has pinned nothing, so it would refuse every host; leave it off there. The CLI still checks each host’s key against the central server’s record either way.
To save a token on a machine instead, pipe it in:
Limits
A token can have two limits, set when it’s made:
Over a limit, new sandboxes are refused with a message saying which. A new sandbox’s lifetime is capped at the minutes left today, and running ones are stopped when the day’s minutes run out.
ephemera usage shows a token’s use and limits:
Revoke a token
In the dashboard, under Tokens, choose Revoke. It stops working at once.ephemera logout removes the saved login from a machine, but the token itself still works until it’s revoked: revoke it too if the machine is gone.