[{"data":1,"prerenderedAt":249},["ShallowReactive",2],{"content-en-\u002F":3},{"id":4,"title":5,"body":6,"description":241,"extension":242,"jsonLd":243,"meta":244,"navigation":146,"path":245,"schemaRole":243,"seo":246,"stem":247,"__hash__":248},"content_en\u002Findex.md","Home",{"type":7,"value":8,"toc":236},"minimark",[9,13,22,41,46,93,97,210,214,229,232],[10,11,12],"h1",{"id":12},"bwsf",[14,15,16,17,21],"p",{},"Secure File Sync — manage ",[18,19,20],"code",{},".env*"," and Terraform tfvars with Bitwarden CLI.",[23,24,25,33],"ul",{},[26,27,28],"li",{},[29,30,32],"a",{"href":31},"\u002Fen\u002Fguide\u002Fgetting-started","Get Started",[26,34,35],{},[29,36,40],{"href":37,"rel":38},"https:\u002F\u002Fgithub.com\u002Fb4moss\u002Fbwsf",[39],"nofollow","View on GitHub",[42,43,45],"h2",{"id":44},"key-features","Key Features",[23,47,48,65,71,87],{},[26,49,50,54,55,57,58,57,61,64],{},[51,52,53],"strong",{},"Secure Storage"," — Store managed files (",[18,56,20],{},", ",[18,59,60],{},"*.tfvars",[18,62,63],{},"*.tfvars.json",") securely in your Bitwarden vault.",[26,66,67,70],{},[51,68,69],{},"Easy Sync"," — Push and pull managed files between your local machine and Bitwarden with simple commands.",[26,72,73,76,77,57,80,57,83,86],{},[51,74,75],{},"Multi-Environment"," — Manage multiple files (",[18,78,79],{},".env",[18,81,82],{},".env.staging",[18,84,85],{},"terraform.tfvars",", and more) in a single project.",[26,88,89,92],{},[51,90,91],{},"Cross-Platform"," — Works on macOS and Linux. Windows support is planned.",[42,94,96],{"id":95},"quick-start","Quick Start",[98,99,104],"pre",{"className":100,"code":101,"language":102,"meta":103,"style":103},"language-bash shiki shiki-themes github-dark-high-contrast","# Install via Homebrew\nbrew tap b4m-oss\u002Ftap && brew install bwsf\n\n# Initial setup\nbwsf setup\n\n# Pull managed files from Bitwarden\ncd \u002Fpath\u002Fto\u002Fyour_project\nbwsf pull\n\n# Push managed files to Bitwarden\nbwsf push\n","bash","",[18,105,106,115,141,148,154,162,167,173,183,191,196,202],{"__ignoreMap":103},[107,108,111],"span",{"class":109,"line":110},"line",1,[107,112,114],{"class":113},"sQrFR","# Install via Homebrew\n",[107,116,118,122,126,129,133,135,138],{"class":109,"line":117},2,[107,119,121],{"class":120},"s_sBn","brew",[107,123,125],{"class":124},"sTRMh"," tap",[107,127,128],{"class":124}," b4m-oss\u002Ftap",[107,130,132],{"class":131},"sMAXC"," && ",[107,134,121],{"class":120},[107,136,137],{"class":124}," install",[107,139,140],{"class":124}," bwsf\n",[107,142,144],{"class":109,"line":143},3,[107,145,147],{"emptyLinePlaceholder":146},true,"\n",[107,149,151],{"class":109,"line":150},4,[107,152,153],{"class":113},"# Initial setup\n",[107,155,157,159],{"class":109,"line":156},5,[107,158,12],{"class":120},[107,160,161],{"class":124}," setup\n",[107,163,165],{"class":109,"line":164},6,[107,166,147],{"emptyLinePlaceholder":146},[107,168,170],{"class":109,"line":169},7,[107,171,172],{"class":113},"# Pull managed files from Bitwarden\n",[107,174,176,180],{"class":109,"line":175},8,[107,177,179],{"class":178},"sCcAr","cd",[107,181,182],{"class":124}," \u002Fpath\u002Fto\u002Fyour_project\n",[107,184,186,188],{"class":109,"line":185},9,[107,187,12],{"class":120},[107,189,190],{"class":124}," pull\n",[107,192,194],{"class":109,"line":193},10,[107,195,147],{"emptyLinePlaceholder":146},[107,197,199],{"class":109,"line":198},11,[107,200,201],{"class":113},"# Push managed files to Bitwarden\n",[107,203,205,207],{"class":109,"line":204},12,[107,206,12],{"class":120},[107,208,209],{"class":124}," push\n",[42,211,213],{"id":212},"how-it-works","How It Works",[14,215,216,217,220,221,224,225,228],{},"bwsf uses the official Bitwarden CLI (",[18,218,219],{},"bw",") to securely store and retrieve managed files. They are stored as ",[51,222,223],{},"Note items"," in a Bitwarden folder (default name: ",[18,226,227],{},"dotenvs",", configurable via setup).",[14,230,231],{},"Each project's files are identified by the current directory name, making it easy to organize and manage multiple projects.",[233,234,235],"style",{},"html pre.shiki code .sQrFR, html code.shiki .sQrFR{--shiki-default:#BDC4CC}html pre.shiki code .s_sBn, html code.shiki .s_sBn{--shiki-default:#FFB757}html pre.shiki code .sTRMh, html code.shiki .sTRMh{--shiki-default:#ADDCFF}html pre.shiki code .sMAXC, html code.shiki .sMAXC{--shiki-default:#F0F3F6}html pre.shiki code .sCcAr, html code.shiki .sCcAr{--shiki-default:#91CBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":103,"searchDepth":117,"depth":117,"links":237},[238,239,240],{"id":44,"depth":117,"text":45},{"id":95,"depth":117,"text":96},{"id":212,"depth":117,"text":213},"Manage .env* and Terraform tfvars with Bitwarden CLI","md",null,{},"\u002F",{"title":5,"description":241},"index","vv6RHoZBk63YA8Y3_J5wAT1mZE0uJ6hUYjWeSgwX_-0",1788146015975]