Expand description
The long-lived values srv keeps for the person’s accounts and for itself, registered with withhold where srv
reads or writes them, so none of them is written into an agent’s transcript or shown to a paired device.
- Every secret in the OS keychain (an account’s token, the cloud sign-in, a peer’s key):
keychain, from the keychain’s own read and write. - The cloud sign-in as srv assembles it (its tokens can be split across keychain entries):
cloud_sign_in. - An agent’s relay credential, kept in the database:
agent_relay_credential. - A messaging bridge’s token, read from settings:
bridge_token. - A key in the agent’s own environment lines, put in its process as written:
env_credential. - The token that opens a container proxy relay:
relay_token.
A value that carries its own expiry is withheld until then, even once a newer one replaces it; one with no known
expiry stays withheld after another replaces it, up to withhold::KEPT_PER_OWNER per owner.
Functions§
- account_
key - An API key account’s key, read from or written to its Vault entry
entry. - agent_
relay_ credential - An agent’s relay credential: its client secret, and the access token cached from it (
expires_atin unix seconds). - bridge_
token - A messaging bridge’s token (
discord,telegram,slack:bot,whatsapp). - cloud_
sign_ in - The cloud sign-in’s tokens (
expires_atin unix seconds, 0 when unknown). The access and id tokens are withheld until they expire, the refresh token until the sign-in ends. - env_
credential - One line of an agent’s own environment, as it goes into its process: a literal value under a credential-style name. A Vault reference, an empty value and a placeholder word hold no secret and are left alone; a Vault value is withheld where it is resolved.
- keychain
- A secret read from or written to the OS keychain under
account_id. A JSON object (an OAuth account’s tokens, a sign-in blob) is withheld field by field, for the fields whose names say they are credentials; anything else is withheld as it is. - relay_
token - The token that opens a container proxy relay.