Connect with the least access
Paste the token into Desktop, or enter it in the CLI’s hidden prompt. To pipe it from a password manager, use--token-stdin:
Where tokens are stored
Hoista never falls back to a plain file on disk. Settings → Vault shows where each token is and whether it still works. Use Replace or Reconnect there when a token expires or you rotate it. From the CLI,
hoist accounts rotate ACCOUNT checks the new token with the provider before it replaces the old one.
Agent credentials and webhook secrets are kept in the same store.
Keep a token in 1Password
Hoista can keep a 1Password secret reference in place of the token. The token stays in 1Password.- Install the 1Password CLI (
op) and turn on its desktop app integration. On a remote, use a service account limited to the items Hoista needs. - Copy the field’s secret reference, such as
op://Hoista/Railway/token. - Paste the reference where you’d paste the token, in Desktop or with
--token-stdin.
op read. It holds the value in memory for at most 15 minutes, or 5 minutes unused, so a token you rotate in 1Password is picked up. If 1Password can’t provide it, the request fails. Hoista doesn’t fall back to an older token.
On a remote, set OP_SERVICE_ACCOUNT_TOKEN as a secret variable at your provider. Only the credential keeper receives it.
What isn’t supported
Hoista supports its built-in store and individual 1Password references. It doesn’t support other password managers, whole-vault integrations, HashiCorp Vault or cloud KMS keys. If you think a token leaked, revoke it at the provider first, then follow the incident checklist.Related
Connect hosting accounts
Connect, check and rotate accounts.
Remote runtime
How a remote keeps your tokens.
Incident checklist
What to do if something looks wrong.