Logo: Vault Secrets

Vault Secrets

Organisatioun
vstorm-co
vault-secrets

Store, read or rotate a credential — a provider API key, a channel bot token, an MCP token, a third-party service key — or add a new secret kind. Use whenever a change touches a credential at rest, whenever something needs to be encrypted, and whenever reviewing code that could leak a plaintext key into a response, a log line or an audit entry. Everything seals through app/core/vault.py; there is deliberately no second mechanism.

Add to TypingMind

Iwwersiicht

Editeurvstorm-co
Repositoryagenticos
Skill-Nummvault-secrets
Stären
137
Forks
27
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    vstorm-co huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Vault Secrets an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/vstorm-co/agenticos/tree/main/.claude/skills/vault-secrets
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vstorm-co/agenticos.git /tmp/agenticos
mkdir -p .claude/skills
cp -r /tmp/agenticos/.claude/skills/vault-secrets .claude/skills/vault-secrets
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Vault Secrets an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Vault Secrets automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Vault Secrets net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

The vault — one mechanism, bound to an owner

Read docs/secrets.md. The module docstrings in app/core/vault.py and app/core/secret_kinds.py carry the reasoning.

The rule

Every provider key, channel bot token, MCP credential and third-party API key seals through app/core/vault.py. There is no second mechanism, and adding one is the mistake this design exists to prevent.

CHANNEL_ENCRYPTION_KEY and the deployment-wide Fernet keys are gone, removed before the migration chain was squashed into 0001_baseline. If you see them referenced anywhere — code, docs, a skill, an .env example — that reference is stale. Three mechanisms used to hold secrets and only one bound a ciphertext to its owner; a Slack token could be copied from one organization's row into another's and it decrypted.

Envelope, and what it buys

Each secret is sealed with its own random data key. That data key is sealed with a key derived from the master key and the scope that owns the secret.

  • A ciphertext cannot move between owners. A row copied from org A into org B fails to unwrap. Tenant isolation here is cryptographic, not a WHERE clause somebody might forget.
  • The master key is rotatable. It never encrypts payloads, only data keys, so rotation re-wraps one small blob per secret. key_version records which master key sealed an envelope — that column is what makes a staged rotation possible.

Scope is an organization, or the member for a personal MCP connection (which has no organization, and whose owner may belong to several).

VAULT_MASTER_KEY, falling back to SECRET_KEY so a fresh checkout runs. An environment validator refuses the default SECRET_KEY outside development.

Kinds

A secret is not always a string, and the kind decides which fields exist: none, api_key, azure_openai, aws_credentials, gcp_service_account.

StorableSecret is what a person can save; SecretValue adds none, which the runtime can hold but nobody can store. That difference keeps "a secret with no value" out of the API schema. The vault refuses to seal an empty value.

Adding a kind means: a new model in secret_kinds.py, a branch in model_resolver._build_provider if a provider needs it, a Builder form field, and a migration only if a stored shape changes. Validate on the way in — the failure mode of a malformed service account is an auth error hours later with nothing pointing back at the paste that caused it.

Four things that must stay true

  1. No API response returns a plaintext. There is no endpoint for it. Plaintext leaves the vault only through the few OrganizationSecretService readers its module docstring lists - resolve_for_bindings for the runner, and narrow ones that hand one value straight to a provider (listing_key, transcription_key, oauth_app). None returns it to a caller who could keep it. Do not add another without that shape.
  2. No log line or audit entry contains one. Every secret-bearing field is a SecretStr, which is what makes the carrying dataclasses mask themselves in a repr — the usual way a key escapes.
  3. No spec carries one. A binding stores secret_id; specs are exported to clients' git repositories.
  4. A capability never learns where its credential came from, and the model never sees it.

tests/api/test_no_secret_escapes.py pins these. If it fails, the leak is real.

Declaring a need, not an instance

A capability declares a SecretRequirement — a kind. Code says "I need an API key"; a binding's secret_id says which one. needs_secret(config) is consulted by publish validation and by the build, so the two cannot disagree.

A secret deleted after publish makes the run refuse, not degrade: a capability whose whole job is calling an authenticated API does not do half of it, and a run that quietly dropped the call would answer as if the API had said no.

Access

secrets:view / secrets:edit (resource permissions, so they carry a scope), mcp:manage, connections:manage. A secret can be shared to one member or agent with a grant. See the permissions-rbac skill.

Test

Cross-tenant unwrap must fail. That is an integration test — a mock cannot tell you the binding holds.

Heefeg gestallte Froen

Wat mécht de KI-Skill Vault Secrets?

Store, read or rotate a credential — a provider API key, a channel bot token, an MCP token, a third-party service key — or add a new secret kind. Use whenever a change touches a credential at rest, whenever something needs to be encrypted, and whenever reviewing code that could leak a plaintext key into a response, a log line or an audit entry. Everything seals through app/core/vault.py; there is deliberately no second mechanism.

Firwat Vault Secrets op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Vault Secrets besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Vault Secrets an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/vstorm-co/agenticos/tree/main/.claude/skills/vault-secrets an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Vault Secrets benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Vault Secrets benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Vault Secrets domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Vault Secrets gratis?

Jo. vstorm-co huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇