Identities

Call actions that need a logged-in account, without ever handing your agent the password.

Some actions act on a real account you control: your LinkedIn, your Amazon, your GitHub. An identity lets you save that login once and reference it by ID. Your agent passes a reference; the secret never leaves the vault.

Save an identity

Connect an account from the console under Identities. Wire stores the cookies, OAuth tokens, or keys encrypted at rest with AES-256-GCM. They're decrypted only on the request path of a call you initiate, and are never returned by the API.

Use it on a call

Pass the identity ID as identity when you submit a task:

curl -X POST https://api.openwire.sh/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "github.create_issue",
    "params": { "repo": "acme/widgets", "title": "Bug report" },
    "identity": "id_work"
  }'

List identities

curl https://api.openwire.sh/v1/wire/identities \
  -H "X-API-Key: $ANAKIN_API_KEY"
# → { "identities": [ { "id": "id_work", "label": "Work GitHub", "sites": ["github"] } ] }

Revoking

Revoke an identity at any time from the console. Subsequent calls that reference it fail cleanly rather than use a stale credential.