Store keys safely and choose which Projects can use them.
Use a Vault for API keys and other private configuration your Agent needs.
A Project can use a Vault you attach to it; an Agent gets access through its
own workspace and linked Projects.
Choose Add beside an available Vault, or Create vault for a new one.
Attach only the Vaults this Project needs.Removing a Vault from a Project leaves its keys available to other attached
Projects. Changing a shared Vault’s contents affects every Project using it.
Sharing a Project also gives its Viewers access to attached Vault values
through runtime tools. Masked values in the dashboard still require careful
access control. Review attachments before sharing.
Clawdi manages Vault encryption and can decrypt stored values. Keep secrets
out of conversations, screenshots, and committed files. The advanced steps
below show how to use references when a command or configuration file needs a key.
Advanced: secret references and command-line workflows
The command creates the Vault if needed, stores the value, and prints an exact
reference containing the Project ID. Copy that emitted reference instead of
constructing one by hand.
The import reads valid dotenv identifiers, reports invalid identifiers it
skips, and writes the accepted fields into one Vault section. Existing
plaintext remains in the source file; remove or retain that file according to
your own secret-handling policy after you verify the import.List names and copyable references without printing values:
Exact references carry their Project scope and avoid ambiguous matches when an
Agent has several linked Projects. Project-relative references remain useful
for portable templates, but require an explicit Project, Agent, or linked
folder context at resolution time.To link the current folder to a Project:
clawdi project folder link --project engineeringclawdi project folder status
The CLI creates the output with owner-only permissions and refuses to overwrite
an existing file unless you pass --force explicitly.
An injected file contains plaintext. Keep it out of version control, restrict
access to it, and remove it when the consuming tool no longer needs it.
Writing to stdout can also expose plaintext in terminal logs.
Attaching makes one shared key set available through another Project:
clawdi vault attach payments --project client-app
A later write to that Vault changes the value for every attached Project.
Detach one Project without deleting keys:
clawdi vault detach payments --project client-app
Deleting a key from a Vault attached to multiple Projects affects every one of
them, so the CLI refuses the operation unless you confirm the global effect.
Sharing a Project also gives its Viewers CLI runtime access to Vault values
available through that Project. Review attachments before creating an invite
or share link. See Projects and sharing.
Run clawdi vault --help, clawdi read --help, clawdi run --help, and
clawdi inject --help for version-specific scope and conflict options.
Last modified on October 3, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Clawdi Docs","description":"User documentation for Clawdi, shared concepts, Agent workflows, the CLI, and self-hosting.","colors":{"primary":"#B95336","light":"#D97757","dark":"#B95336"},"logo":{"light":"https://mintcdn.com/clawdi/9x4qpGzCutMi4aXM/assets/clawdi-docs-light.svg?fit=max\u0026auto=format\u0026n=9x4qpGzCutMi4aXM\u0026q=85\u0026s=b7db769452138524caaa66dbd904be3e","dark":"https://mintcdn.com/clawdi/9x4qpGzCutMi4aXM/assets/clawdi-docs-dark.svg?fit=max\u0026auto=format\u0026n=9x4qpGzCutMi4aXM\u0026q=85\u0026s=b52de125b02eedd22d10f27217d935be","href":"/"},"favicon":"https://mintcdn.com/clawdi/qNpt68eGHuVoMLgq/assets/favicon.ico?fit=max\u0026auto=format\u0026n=qNpt68eGHuVoMLgq\u0026q=85\u0026s=7d7cd42bde69634bcff38d513d881ce4","navbar":{"primary":{"type":"button","label":"Clawdi dashboard","href":"https://cloud.clawdi.ai"}},"footer":{"socials":{"telegram":"https://t.me/clawdiofficial","github":"https://github.com/Clawdi-AI/clawdi"},"links":[{"header":"Product","items":[{"label":"Clawdi website","href":"https://clawdi.ai"},{"label":"Clawdi dashboard","href":"https://cloud.clawdi.ai"}]},{"header":"Support","items":[{"label":"Email support","href":"mailto:support@clawdi.ai"},{"label":"Telegram support","href":"https://t.me/clawdiofficial"},{"label":"GitHub Issues","href":"https://github.com/Clawdi-AI/clawdi/issues"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.clawdi.ai/privacy"},{"label":"Terms of Use","href":"https://www.clawdi.ai/terms"}]}]},"search":{"prompt":"Search Clawdi docs..."},"seo":{"metatags":{"og:site_name":"Clawdi Docs"},"organization":{"name":"Clawdi","url":"https://clawdi.ai","sameAs":["https://github.com/Clawdi-AI/clawdi","https://t.me/clawdiofficial"]},"indexing":"navigable"},"icons":{"library":"lucide"},"metadata":{"timestamp":true},"markdown":{"instructions":["Treat Clawdi as one product.","Recommend the Cloud Agent quickstart for most new users.","Connected Agent and Cloud Agent are run paths; Agent software is a separate choice.","Do not present shared Clawdi capabilities as exclusive to one run path."]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Clawdi website","icon":"house","href":"https://clawdi.ai"},{"anchor":"GitHub","icon":"github","href":"https://github.com/Clawdi-AI/clawdi"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"clawdi","hasAudioNarration":false,"actualSubdomain":"clawdi","customDomains":["docs.clawdi.ai"],"gitSource":{"type":"github","owner":"clawdi-ai","repo":"clawdi-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ac88b3166c73de8b9d92dcd","collectionId":"479f605a-7d8f-40ab-9d83-f93357cfc818","liveDeploymentHistoryId":"6ac88b3166c73de8b9d92dcd","schemaVersion":"v3"},"entitlements":{},"buildId":"6ac88b3166c73de8b9d92dcd","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Use Clawdi","count":15},{"language":"default","tag":"Manage Agents","count":10},{"language":"default","tag":"Cloud Agents","count":9},{"language":"default","tag":"Advanced","count":7},{"language":"default","tag":"Account and support","count":6},{"language":"default","tag":"Context and shared resources","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Everyday workflows","count":4},{"language":"default","tag":"CLI installation","count":4},{"language":"default","tag":"Apps, Plugins, and Channels","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/vaults-and-secrets","slug":"/guides/vaults-and-secrets","pageMetadata":{"title":"Keep secrets in Vaults","description":"Store keys safely and choose which Projects can use them.","href":"/guides/vaults-and-secrets"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Store keys safely and choose which Projects can use them.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,OptimizedImage,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use a Vault for API keys and other private configuration your Agent needs.\nA Project can use a Vault you attach to it; an Agent gets access through its\nown workspace and linked Projects.`}),`\n`,_jsx(Heading,{level:`2`,id:`choose-which-projects-can-use-a-vault`,children:`Choose which Projects can use a Vault`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open your Project’s `,_jsx(_components.strong,{children:`Vaults`}),` tab.`]}),`\n`,_jsx(_components.li,{children:`Review the Vaults already in the Project.`}),`\n`,_jsxs(_components.li,{children:[`Choose `,_jsx(_components.strong,{children:`Add`}),` beside an available Vault, or `,_jsx(_components.strong,{children:`Create vault`}),` for a new one.`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vaults.webp?fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=5f4e9fd728e89d157dab776d8b0187e3`,alt:`Project Vaults tab separating attached Vaults from available Vaults.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1620`,height:`1620`,\"data-path\":`assets/clawdi-demo-screenshots/light/vaults.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vaults.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=9882d28681add72b1427a28237063132 280w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vaults.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=e5fdf579fce74b01640afdfb86fd5c4b 560w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vaults.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=c8cac23e635d303cd4d5238ee8d0f1c0 840w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vaults.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=50e29cb283c999c35a75eea5413d834f 1100w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vaults.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=297178affe1561fcca61bd4638f809ba 1650w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vaults.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=30340a3c8c5e2b926d031ad2fdef225e 2500w`}),`\n`,_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vaults.webp?fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=905d2baabe13e18f979c13e85df68c14`,alt:`Project Vaults tab separating attached Vaults from available Vaults.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1620`,height:`1620`,\"data-path\":`assets/clawdi-demo-screenshots/dark/vaults.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vaults.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=31b787e83bdcf07233bb087426af7aa1 280w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vaults.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=2dd9976c4935ca74b296ae450536dbe0 560w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vaults.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=80514f73908842b93877b8304578c262 840w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vaults.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=094ae733be4a792b523b2180dd53df3d 1100w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vaults.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=f32a617515cc96144fdd389c6a0ae762 1650w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vaults.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=fceec20b217aa68db748c49d972b71d6 2500w`}),`\n`,_jsx(_components.p,{children:_jsx(_components.em,{children:`Attach only the Vaults this Project needs.`})}),`\n`,_jsx(_components.p,{children:`Removing a Vault from a Project leaves its keys available to other attached\nProjects. Changing a shared Vault’s contents affects every Project using it.`}),`\n`,_jsx(Heading,{level:`2`,id:`add-a-key-in-the-dashboard`,children:`Add a key in the dashboard`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the Vault and choose `,_jsx(_components.strong,{children:`Add keys`}),`.`]}),`\n`,_jsx(_components.li,{children:`Enter the key names and values in the private entry form.`}),`\n`,_jsx(_components.li,{children:`Review the detected keys, then save.`}),`\n`,_jsx(_components.li,{children:`Confirm that the saved key names appear in the Vault.`}),`\n`]}),`\n`,_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vault-populated.webp?fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=279b9cb4508becfe46cf39ac85436d9a`,alt:`Demo Vault with DEMO_ENVIRONMENT, DEMO_REGION, and DEMO_WORKSPACE and masked values.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1620`,height:`1620`,\"data-path\":`assets/clawdi-demo-screenshots/light/vault-populated.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vault-populated.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=ceaf91deeea6ecdb9baf0737746eca8f 280w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vault-populated.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=586e0863e523d0c297bb14097cdb6d38 560w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vault-populated.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=5ba6831454a1235ba6bf1efc5490dee7 840w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vault-populated.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=766583faa4dd296e7965a82e178875af 1100w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vault-populated.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=d9e522727a63ab2218e23c9589e9f14e 1650w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/light/vault-populated.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=43e9b037937e92a5c1e3a4037bdd8070 2500w`}),`\n`,_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vault-populated.webp?fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=7768c0ae6719a91076bcc2404a78bf1b`,alt:`Demo Vault with DEMO_ENVIRONMENT, DEMO_REGION, and DEMO_WORKSPACE and masked values.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1620`,height:`1620`,\"data-path\":`assets/clawdi-demo-screenshots/dark/vault-populated.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vault-populated.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=8606ecc7a633b61bb11249c14a564d55 280w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vault-populated.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=1a4fbb3fb2b64f89bbda3535f8e092f4 560w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vault-populated.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=807b26eae5be5550178046e7d2447191 840w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vault-populated.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=0d19857ab9cc737df93c5eb48b9e7c35 1100w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vault-populated.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=d548b994f89c4bb000929e5eec22a8ee 1650w, https://mintcdn.com/clawdi/Z-_ZjoDEn2Pqcp_I/assets/clawdi-demo-screenshots/dark/vault-populated.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Z-_ZjoDEn2Pqcp_I\u0026q=85\u0026s=282e67c78bc2ae4655ef20cdc4fb5f0f 2500w`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Saved key names remain visible. Values are write-only in this view.`}),` `,_jsx(_components.a,{href:`/assets/clawdi-demo-screenshots/light/vault-populated.webp`,children:`Light full-size image`}),` · `,_jsx(_components.a,{href:`/assets/clawdi-demo-screenshots/dark/vault-populated.webp`,children:`Dark full-size image`})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Sharing a Project also gives its Viewers access to attached Vault values\nthrough runtime tools. Masked values in the dashboard still require careful\naccess control. Review attachments before sharing.`})}),`\n`,_jsx(_components.p,{children:`Clawdi manages Vault encryption and can decrypt stored values. Keep secrets\nout of conversations, screenshots, and committed files. The advanced steps\nbelow show how to use references when a command or configuration file needs a key.`}),`\n`,_jsxs(Accordion,{title:`Advanced: secret references and command-line workflows`,id:`advanced-secret-references-and-command-line-workflows`,children:[_jsx(Heading,{level:`2`,id:`store-one-secret-safely`,children:`Store one secret safely`}),_jsx(_components.p,{children:`Use a masked prompt for interactive entry and name the Project explicitly:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vault`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` providers/OPENAI_API_KEY`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` engineering`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --prompt`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`For automation, `,_jsx(_components.code,{children:`--stdin`}),` avoids placing the value in a command-line flag:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`printf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '%s\\\\n'`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$OPENAI_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vault`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` providers/OPENAI_API_KEY`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` engineering`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --stdin`})]}),`\n`]})})}),_jsx(_components.p,{children:`The command creates the Vault if needed, stores the value, and prints an exact\nreference containing the Project ID. Copy that emitted reference instead of\nconstructing one by hand.`}),_jsx(Heading,{level:`2`,id:`import-an-existing-dotenv-file`,children:`Import an existing dotenv file`}),_jsxs(_components.p,{children:[`Review the source file, then import without `,_jsx(_components.code,{children:`--yes`}),` so the interactive summary\nand confirmation remain visible:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vault`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` import`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.production`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --vault`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` payments`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --section`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stripe`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` engineering`})]}),`\n`]})})}),_jsx(_components.p,{children:`The import reads valid dotenv identifiers, reports invalid identifiers it\nskips, and writes the accepted fields into one Vault section. Existing\nplaintext remains in the source file; remove or retain that file according to\nyour own secret-handling policy after you verify the import.`}),_jsx(_components.p,{children:`List names and copyable references without printing values:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vault`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` engineering`})]}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`commit-references%2C-not-values`,children:`Commit references, not values`}),_jsxs(_components.p,{children:[`Create a template such as `,_jsx(_components.code,{children:`.env.clawdi`}),` with the exact reference printed by\n`,_jsx(_components.code,{children:`vault set`}),`, `,_jsx(_components.code,{children:`vault import`}),`, or `,_jsx(_components.code,{children:`vault list`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`dotenv`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`dotenv`,children:_jsxs(_components.code,{language:`dotenv`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`STRIPE_SECRET_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`clawdi://project/\u003cproject-id>/vault/payments/section/stripe/field/STRIPE_SECRET_KEY`})]}),`\n`]})})}),_jsx(_components.p,{children:`Exact references carry their Project scope and avoid ambiguous matches when an\nAgent has several linked Projects. Project-relative references remain useful\nfor portable templates, but require an explicit Project, Agent, or linked\nfolder context at resolution time.`}),_jsx(_components.p,{children:`To link the current folder to a Project:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` folder`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` link`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` engineering`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` folder`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`run-a-command-without-writing-plaintext`,children:`Run a command without writing plaintext`}),_jsx(_components.p,{children:`Preview provenance first. Dry-run does not launch the child command or request\nplaintext values:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --dry-run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env-file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.clawdi`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dev`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env-file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.clawdi`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dev`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Only the child process receives the resolved environment. Prefer this path to\n`,_jsx(_components.code,{children:`--all-vault-env`}),`, which is a legacy broad-injection mode.`]}),_jsx(Heading,{level:`2`,id:`inject-a-file-only-when-required`,children:`Inject a file only when required`}),_jsx(_components.p,{children:`Some tools require a physical configuration file. Preview, then write it:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` inject`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --dry-run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --in`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.clawdi`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --out`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.local`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` inject`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --in`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.clawdi`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --out`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.local`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The CLI creates the output with owner-only permissions and refuses to overwrite\nan existing file unless you pass `,_jsx(_components.code,{children:`--force`}),` explicitly.`]}),_jsx(Warning,{children:_jsx(_components.p,{children:`An injected file contains plaintext. Keep it out of version control, restrict\naccess to it, and remove it when the consuming tool no longer needs it.\nWriting to stdout can also expose plaintext in terminal logs.`})}),_jsx(Heading,{level:`2`,id:`inspect-one-reference`,children:`Inspect one reference`}),_jsx(_components.p,{children:`Use dry-run to verify its source without revealing the value:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` read`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`clawdi-referenc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --dry-run`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Run without `,_jsx(_components.code,{children:`--dry-run`}),` only when you intentionally need plaintext on stdout.\nAvoid `,_jsx(_components.code,{children:`--json`}),` in logs for non-dry-run secret commands.`]}),_jsx(Heading,{level:`2`,id:`reuse-or-detach-a-vault`,children:`Reuse or detach a Vault`}),_jsx(_components.p,{children:`Attaching makes one shared key set available through another Project:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vault`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` attach`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` payments`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` client-app`})]}),`\n`]})})}),_jsx(_components.p,{children:`A later write to that Vault changes the value for every attached Project.\nDetach one Project without deleting keys:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`clawdi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vault`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` detach`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` payments`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` client-app`})]}),`\n`]})})}),_jsx(_components.p,{children:`Deleting a key from a Vault attached to multiple Projects affects every one of\nthem, so the CLI refuses the operation unless you confirm the global effect.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`Sharing a Project also gives its Viewers CLI runtime access to Vault values\navailable through that Project. Review attachments before creating an invite\nor share link. See `,_jsx(_components.a,{href:`/guides/projects-and-sharing`,children:`Projects and sharing`}),`.`]})}),_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`clawdi vault --help`}),`, `,_jsx(_components.code,{children:`clawdi read --help`}),`, `,_jsx(_components.code,{children:`clawdi run --help`}),`, and\n`,_jsx(_components.code,{children:`clawdi inject --help`}),` for version-specific scope and conflict options.`]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Keep secrets in Vaults","description":"Store keys safely and choose which Projects can use them.","href":"/guides/vaults-and-secrets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose which Projects can use a Vault","slug":"choose-which-projects-can-use-a-vault","depth":2,"children":[]},{"title":"Add a key in the dashboard","slug":"add-a-key-in-the-dashboard","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"clawdi","siteName":"Clawdi Docs","title":"Keep secrets in Vaults - Clawdi Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T05:04:57.806Z","gitLastModified":"2026-10-03T03:53:40.000Z","originalFileLocation":"guides/vaults-and-secrets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Store keys safely and choose which Projects can use them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Clawdi Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Keep secrets in Vaults - Clawdi Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Store keys safely and choose which Projects can use them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Clawdi Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clawdi.ai/guides/vaults-and-secrets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://clawdi.mintlify.app/_mintlify/api/og/v2?division=Context+and+shared+resources\u0026amp;title=Keep+secrets+in+Vaults\u0026amp;description=Store+keys+safely+and+choose+which+Projects+can+use+them.\u0026amp;theme=d3d042d5c75436805bcc1923\u0026amp;signature=6733c23fd6ff02ae7b9d2e9b6230ec861aeefc66228f58dc1e1770315a071dc1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Keep secrets in Vaults - Clawdi Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Store keys safely and choose which Projects can use them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://clawdi.mintlify.app/_mintlify/api/og/v2?division=Context+and+shared+resources\u0026amp;title=Keep+secrets+in+Vaults\u0026amp;description=Store+keys+safely+and+choose+which+Projects+can+use+them.\u0026amp;theme=d3d042d5c75436805bcc1923\u0026amp;signature=6733c23fd6ff02ae7b9d2e9b6230ec861aeefc66228f58dc1e1770315a071dc1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/clawdi/DUBFaWoRWxyiSWZq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Clawdi Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B95336\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clawdi.ai/guides/vaults-and-secrets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/vaults-and-secrets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://clawdi.ai/#organization\",\"name\":\"Clawdi\",\"url\":\"https://clawdi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/clawdi/9x4qpGzCutMi4aXM/assets/clawdi-docs-light.svg?fit=max\u0026auto=format\u0026n=9x4qpGzCutMi4aXM\u0026q=85\u0026s=b7db769452138524caaa66dbd904be3e\"},\"sameAs\":[\"https://github.com/Clawdi-AI/clawdi\",\"https://t.me/clawdiofficial\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clawdi.ai#website\",\"name\":\"Clawdi Docs\",\"url\":\"https://docs.clawdi.ai\",\"publisher\":{\"@id\":\"https://clawdi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clawdi.ai/guides/vaults-and-secrets#webpage\",\"url\":\"https://docs.clawdi.ai/guides/vaults-and-secrets\",\"name\":\"Keep secrets in Vaults\",\"description\":\"Store keys safely and choose which Projects can use them.\",\"dateModified\":\"2026-10-03T03:53:40.000Z\",\"isPartOf\":{\"@id\":\"https://docs.clawdi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clawdi.ai/guides/vaults-and-secrets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clawdi.ai/guides/vaults-and-secrets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Use Clawdi\",\"item\":\"https://docs.clawdi.ai/guides/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Context and shared resources\",\"item\":\"https://docs.clawdi.ai/guides/sessions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Keep secrets in Vaults\",\"item\":\"https://docs.clawdi.ai/guides/vaults-and-secrets\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.clawdi.ai/guides/vaults-and-secrets#article\",\"headline\":\"Keep secrets in Vaults\",\"name\":\"Keep secrets in Vaults\",\"description\":\"Store keys safely and choose which Projects can use them.\",\"url\":\"https://docs.clawdi.ai/guides/vaults-and-secrets\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clawdi.ai/guides/vaults-and-secrets#webpage\"},\"dateModified\":\"2026-10-03T03:53:40.000Z\",\"publisher\":{\"@id\":\"https://clawdi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clawdi.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Clawdi Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Clawdi Docs","nav":{"global":{"anchors":[{"anchor":"Clawdi website","icon":"house","href":"https://clawdi.ai"},{"anchor":"GitHub","icon":"github","href":"https://github.com/Clawdi-AI/clawdi"}]},"pages":[{"group":"Get started","pages":[{"title":"Start with Clawdi","href":"/index"},{"title":"What is Clawdi?","href":"/getting-started/what-is-clawdi"},{"title":"Cloud Agent quickstart","href":"/cloud-agents/deploy"},{"title":"Connect a local Agent","href":"/getting-started/quickstart"}]},{"group":"Use Clawdi","pages":[{"title":"Guides","href":"/guides/index"},{"title":"Core concepts","href":"/concepts/core-concepts"},{"group":"Everyday workflows","pages":[{"title":"Give an Agent shared context","href":"/guides/workflows/give-an-agent-context"},{"title":"Connect an app and verify its tools","href":"/guides/workflows/connect-an-app"},{"title":"Share a Project with a teammate","href":"/guides/workflows/share-a-project"},{"title":"Connect a messaging Channel","href":"/guides/workflows/connect-a-messaging-channel"}]},{"group":"Context and shared resources","pages":[{"title":"Find and share past conversations","href":"/guides/sessions"},{"title":"Remember useful facts and preferences","href":"/guides/memories"},{"title":"Organize and share a Project","href":"/guides/projects-and-sharing"},{"title":"Teach your Agent with Skills","description":"Save reusable instructions in a Project and choose which Agents use them.","href":"/guides/skills"},{"title":"Keep secrets in Vaults","href":"/guides/vaults-and-secrets"}]},{"group":"Apps, Plugins, and Channels","pages":[{"title":"Connectors and MCP","description":"Connect an app in the dashboard and verify that supported Agents can reach Clawdi tools through MCP.","href":"/guides/connectors-and-mcp"},{"title":"Add tools with Plugins","href":"/guides/plugins"},{"title":"Talk to your Agent through Channels","href":"/guides/channels"}]},{"title":"AI Providers","href":"/guides/ai-providers"}]},{"group":"Manage Agents","pages":[{"group":"Cloud Agents","pages":[{"title":"Cloud Agents","href":"/cloud-agents/overview"},{"title":"Choose your Cloud Agent setup","href":"/cloud-agents/choose-your-setup"},{"title":"Choose AI for your Cloud Agent","href":"/cloud-agents/ai-access"},{"title":"Cloud Agent usage and billing","href":"/cloud-agents/usage-and-billing"},{"title":"Agent Interface, Files, and Terminal","href":"/cloud-agents/agent-interface-and-terminal"},{"title":"Cloud Agent settings and lifecycle","href":"/cloud-agents/settings-and-lifecycle"},{"title":"Cloud Agent states and recovery","href":"/cloud-agents/states-and-recovery"},{"title":"Troubleshoot Cloud Agents","href":"/cloud-agents/troubleshooting"},{"group":"Advanced deployment","pages":[{"title":"Automate Cloud Agent deployment","href":"/cloud-agents/deployment-automation"}]}]},{"group":"Connected Agents","pages":[{"title":"Manage Connected Agent setup","href":"/getting-started/connect-agents"}]}]},{"group":"Account and support","pages":[{"title":"Authentication","href":"/account/authentication"},{"title":"Permissions and sharing","href":"/account/permissions-and-sharing"},{"title":"Notifications","href":"/account/notifications"},{"title":"Data and security","href":"/trust/data-and-security"},{"title":"Troubleshoot Clawdi","href":"/troubleshooting"},{"title":"Clawdi support","href":"/support"}]},{"group":"Advanced","pages":[{"group":"CLI installation","pages":[{"title":"System requirements","href":"/installation/requirements"},{"title":"Install the Clawdi CLI","href":"/installation/index"},{"title":"Update the Clawdi CLI","href":"/installation/update"},{"title":"Uninstall the Clawdi CLI","href":"/installation/uninstall"}]},{"group":"CLI reference","pages":[{"title":"Clawdi CLI","href":"/cli/index"},{"title":"CLI commands","href":"/cli/commands"}]},{"title":"Self-host Clawdi","href":"/self-hosting"}]},{"group":"Updates","pages":[{"title":"Changelog","href":"/changelog"},{"title":"Legacy Cloud Agents","href":"/legacy-cloud-agents"}]}]},"basePath":"","title":"Keep secrets in Vaults - Clawdi Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}