Skip to content

Passwordmanager

The OpenSIN Passwordmanager is the central secrets authority for the OpenSIN ecosystem. Every agent, extension, and service retrieves credentials through it.

Architecture

┌──────────────────────┐
│   A2A Agent / CLI    │
│   "spm run-action"   │
└──────────┬───────────┘
           │ JSON action

┌──────────────────────┐
│  SIN-Passwordmanager │
│  (Node.js TypeScript)│
│                      │
│  Backends:           │
│  ├── gcloud ────────→│ Google Cloud Secret Manager
│  ├── keychain ──────→│ macOS Keychain
│  └── file ──────────→│ AES-256-GCM encrypted file
└──────────────────────┘

Backend: Google Cloud Secrets (Default)

PropertyValue
Secret namingspm-{lowercase_name} (dots replaced with dashes)
EncryptionAES-256 at rest (Google-managed)
ReplicationAutomatic multi-region
Free tier6 active secret versions, 10,000 access ops/month
AuthService account with roles/secretmanager.admin

Actions Reference

ActionParametersDescription
sin.passwordmanager.healthHealth check (backend, state, sample surface)
sin.passwordmanager.secret.putname, value, description?, tags?Store or update a secret
sin.passwordmanager.secret.getname, reveal?Retrieve a secret (masked or revealed)
sin.passwordmanager.secret.deletenameDelete a secret
sin.passwordmanager.secret.listList all secrets (metadata only)
sin.passwordmanager.target.bindname, targetBind a sync target to a secret
sin.passwordmanager.target.listname?List sync targets
sin.passwordmanager.secret.syncname, targetIds?Sync secret to bound targets
sin.passwordmanager.secret.sync_allSync all secrets to all targets

Sync Targets

The Passwordmanager can fan out secrets to external systems:

Target KindDescription
huggingface_space_secretSets a secret on a Hugging Face Space
github_actions_repoSets a GitHub Actions secret on a repo

CLI

bash
export SPM_SECRET_BACKEND=gcloud

spm run-action '{"action":"sin.passwordmanager.secret.put","name":"MY_KEY","value":"<DEIN_API_KEY>","description":"My API key","tags":["auth"]}'

spm run-action '{"action":"sin.passwordmanager.secret.get","name":"MY_KEY","reveal":true}'

Setup

See Onboarding Guide for automated setup, or the Infra-SIN-Dev-Setup / user-onboarding for manual installation.

Source Code

The canonical runtime implementation belongs to the infrastructure/auth surfaces owned by OpenSIN-backend. Public docs intentionally avoid over-specifying internal folder topology when it is not required for end users.


Relevante Mandate

MandatPriorityDoku
Bun-Only-1.5bun install / bun run statt npm
Annahmen-Verbot-5.0KEINE Diagnose ohne Beweis
Test-Beweis-Pflicht0.0KEIN "Done" ohne echten Test-Lauf

Alle Mandate

Guides and concepts for the OpenSIN API.