[{"data":1,"prerenderedAt":888},["ShallowReactive",2],{"navigation_docs":3,"-guides-local-development-overview":365,"-guides-local-development-overview-surround":883},[4,215,267],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":21},"Documentation","i-lucide-book-open","\u002Fdocs","1.docs",[10,15,19,45,87,104,125,159,210],{"title":11,"path":12,"stem":13,"icon":14},"Welcome","\u002Fdocs\u002Fwelcome","1.docs\u002F1.welcome","i-lucide-house",{"title":16,"path":17,"stem":18},"Quick Start","\u002Fdocs\u002Fquickstart","1.docs\u002F2.quickstart",{"title":20,"icon":21,"path":22,"stem":23,"children":24,"page":21},"Auth Methods",false,"\u002Fdocs\u002Fauth","1.docs\u002F3.auth",[25,29,33,37,41],{"title":26,"path":27,"stem":28},"Overview","\u002Fdocs\u002Fauth\u002Foverview","1.docs\u002F3.auth\u002F1.overview",{"title":30,"path":31,"stem":32},"Google","\u002Fdocs\u002Fauth\u002Fgoogle","1.docs\u002F3.auth\u002F2.google",{"title":34,"path":35,"stem":36},"Microsoft","\u002Fdocs\u002Fauth\u002Fmicrosoft","1.docs\u002F3.auth\u002F3.microsoft",{"title":38,"path":39,"stem":40},"Github","\u002Fdocs\u002Fauth\u002Fgithub","1.docs\u002F3.auth\u002F4.github",{"title":42,"path":43,"stem":44},"Personal Access Tokens","\u002Fdocs\u002Fauth\u002Fuser-tokens","1.docs\u002F3.auth\u002F5.user-tokens",{"title":46,"icon":21,"path":47,"stem":48,"children":49,"page":21},"Organizations","\u002Fdocs\u002Forganization","1.docs\u002F4.organization",[50,54,58,62,66,70,74],{"title":51,"path":52,"stem":53},"Organization Overview","\u002Fdocs\u002Forganization\u002Foverview","1.docs\u002F4.organization\u002F1.overview",{"title":55,"path":56,"stem":57},"Create Organization","\u002Fdocs\u002Forganization\u002Fcreate","1.docs\u002F4.organization\u002F2.create",{"title":59,"path":60,"stem":61},"Billing","\u002Fdocs\u002Forganization\u002Fbilling","1.docs\u002F4.organization\u002F3.billing",{"title":63,"path":64,"stem":65},"Organization permissions","\u002Fdocs\u002Forganization\u002Fpermissions","1.docs\u002F4.organization\u002F4.permissions",{"title":67,"path":68,"stem":69},"Organization users","\u002Fdocs\u002Forganization\u002Fusers","1.docs\u002F4.organization\u002F5.users",{"title":71,"path":72,"stem":73},"Organization security","\u002Fdocs\u002Forganization\u002Fsecurity","1.docs\u002F4.organization\u002F6.security",{"title":75,"icon":21,"path":76,"stem":77,"children":78,"page":21},"Audit","\u002Fdocs\u002Forganization\u002Faudit","1.docs\u002F4.organization\u002F7.audit",[79,83],{"title":80,"path":81,"stem":82},"Audit Logs","\u002Fdocs\u002Forganization\u002Faudit\u002Flogs","1.docs\u002F4.organization\u002F7.audit\u002F1.logs",{"title":84,"path":85,"stem":86},"Audit Notifications","\u002Fdocs\u002Forganization\u002Faudit\u002Fnotifications","1.docs\u002F4.organization\u002F7.audit\u002F2.notifications",{"title":88,"icon":21,"path":89,"stem":90,"children":91,"page":21},"Workspaces","\u002Fdocs\u002Fworkspaces","1.docs\u002F5.workspaces",[92,96,100],{"title":93,"path":94,"stem":95},"Workspace Overview","\u002Fdocs\u002Fworkspaces\u002Foverview","1.docs\u002F5.workspaces\u002F1.overview",{"title":97,"path":98,"stem":99},"Create Workspace","\u002Fdocs\u002Fworkspaces\u002Fcreate","1.docs\u002F5.workspaces\u002F2.create",{"title":101,"path":102,"stem":103},"Workspace permissions","\u002Fdocs\u002Fworkspaces\u002Fpermissions","1.docs\u002F5.workspaces\u002F3.permissions",{"title":105,"icon":21,"path":106,"stem":107,"children":108,"page":21},"Kubernetes Agent","\u002Fdocs\u002Fagents","1.docs\u002F6.agents",[109,113,117,121],{"title":110,"path":111,"stem":112},"Agents Overview","\u002Fdocs\u002Fagents\u002Foverview","1.docs\u002F6.agents\u002F1.overview",{"title":114,"path":115,"stem":116},"Agents Deployment","\u002Fdocs\u002Fagents\u002Fdeployment","1.docs\u002F6.agents\u002F2.deployment",{"title":118,"path":119,"stem":120},"AWS Marketplace","\u002Fdocs\u002Fagents\u002Faws-marketplace","1.docs\u002F6.agents\u002F3.aws-marketplace",{"title":122,"path":123,"stem":124},"Agents Security","\u002Fdocs\u002Fagents\u002Fsecurity","1.docs\u002F6.agents\u002F4.security",{"title":126,"icon":21,"path":127,"stem":128,"children":129,"page":21},"Secrets","\u002Fdocs\u002Fsecrets","1.docs\u002F7.secrets",[130,134,138,142,146],{"title":131,"path":132,"stem":133},"Secret Overview","\u002Fdocs\u002Fsecrets\u002Foverview","1.docs\u002F7.secrets\u002F1.overview",{"title":135,"path":136,"stem":137},"Secret Types","\u002Fdocs\u002Fsecrets\u002Ftypes","1.docs\u002F7.secrets\u002F2.types",{"title":139,"path":140,"stem":141},"Secret Versions","\u002Fdocs\u002Fsecrets\u002Fversions","1.docs\u002F7.secrets\u002F3.versions",{"title":143,"path":144,"stem":145},"Two-Factor codes","\u002Fdocs\u002Fsecrets\u002Ftwo-factor","1.docs\u002F7.secrets\u002F4.two-factor",{"title":147,"icon":21,"path":148,"stem":149,"children":150,"page":21},"One-time share","\u002Fdocs\u002Fsecrets\u002Fonetime","1.docs\u002F7.secrets\u002F5.onetime",[151,155],{"title":152,"path":153,"stem":154},"Secret Version","\u002Fdocs\u002Fsecrets\u002Fonetime\u002Fversion","1.docs\u002F7.secrets\u002F5.onetime\u002F1.version",{"title":156,"path":157,"stem":158},"Custom note","\u002Fdocs\u002Fsecrets\u002Fonetime\u002Fcustom","1.docs\u002F7.secrets\u002F5.onetime\u002F2.custom",{"title":160,"icon":21,"path":161,"stem":162,"children":163,"page":21},"Integrations","\u002Fdocs\u002Fintegration","1.docs\u002F8.integration",[164,167,180,193],{"title":26,"path":165,"stem":166},"\u002Fdocs\u002Fintegration\u002Foverview","1.docs\u002F8.integration\u002F1.overview",{"title":168,"icon":21,"path":169,"stem":170,"children":171,"page":21},"Notifications","\u002Fdocs\u002Fintegration\u002Fnotification","1.docs\u002F8.integration\u002F2.notification",[172,176],{"title":173,"path":174,"stem":175},"Slack","\u002Fdocs\u002Fintegration\u002Fnotification\u002Fslack","1.docs\u002F8.integration\u002F2.notification\u002F1.slack",{"title":177,"path":178,"stem":179},"Telegram","\u002Fdocs\u002Fintegration\u002Fnotification\u002Ftelegram","1.docs\u002F8.integration\u002F2.notification\u002F2.telegram",{"title":181,"icon":21,"path":182,"stem":183,"children":184,"page":21},"Connections","\u002Fdocs\u002Fintegration\u002Fconnections","1.docs\u002F8.integration\u002F3.connections",[185,189],{"title":186,"path":187,"stem":188},"GCP Connection","\u002Fdocs\u002Fintegration\u002Fconnections\u002Fgcp","1.docs\u002F8.integration\u002F3.connections\u002F1.gcp",{"title":190,"path":191,"stem":192},"AWS Connection","\u002Fdocs\u002Fintegration\u002Fconnections\u002Faws","1.docs\u002F8.integration\u002F3.connections\u002F2.aws",{"title":194,"icon":21,"path":195,"stem":196,"children":197,"page":21},"KMS (Key Management System)","\u002Fdocs\u002Fintegration\u002Fkms","1.docs\u002F8.integration\u002F4.kms",[198,202,206],{"title":199,"path":200,"stem":201},"KMS Overview","\u002Fdocs\u002Fintegration\u002Fkms\u002Foverview","1.docs\u002F8.integration\u002F4.kms\u002F1.overview",{"title":203,"path":204,"stem":205},"GCP KMS","\u002Fdocs\u002Fintegration\u002Fkms\u002Fgcp","1.docs\u002F8.integration\u002F4.kms\u002F2.gcp",{"title":207,"path":208,"stem":209},"AWS KMS","\u002Fdocs\u002Fintegration\u002Fkms\u002Faws","1.docs\u002F8.integration\u002F4.kms\u002F3.aws",{"title":211,"path":212,"stem":213,"icon":214},"Security","\u002Fdocs\u002Fsecurity","1.docs\u002F9.security","i-lucide-shield-check",{"title":216,"icon":217,"path":218,"stem":219,"children":220,"page":21},"CLI Reference","i-lucide-terminal","\u002Fcli","2.cli",[221,224,228],{"title":26,"path":222,"stem":223},"\u002Fcli\u002Foverview","2.cli\u002F1.overview",{"title":225,"path":226,"stem":227},"Quickstart","\u002Fcli\u002Fquickstart","2.cli\u002F2.quickstart",{"title":229,"icon":21,"path":230,"stem":231,"children":232,"page":21},"Commands","\u002Fcli\u002Fcommands","2.cli\u002F3.commands",[233,237,241,259,263],{"title":234,"path":235,"stem":236},"ennote auth","\u002Fcli\u002Fcommands\u002Fauth","2.cli\u002F3.commands\u002F1.auth",{"title":238,"path":239,"stem":240},"ennote config","\u002Fcli\u002Fcommands\u002Fconfig","2.cli\u002F3.commands\u002F2.config",{"title":242,"path":243,"stem":244,"children":245,"icon":21},"ennote secret","\u002Fcli\u002Fcommands\u002Fsecret","2.cli\u002F3.commands\u002F3.secret\u002F1.index",[246,247,251,255],{"title":26,"path":243,"stem":244},{"title":248,"path":249,"stem":250},"create","\u002Fcli\u002Fcommands\u002Fsecret\u002Fcreate","2.cli\u002F3.commands\u002F3.secret\u002F2.create",{"title":252,"path":253,"stem":254},"get","\u002Fcli\u002Fcommands\u002Fsecret\u002Fget","2.cli\u002F3.commands\u002F3.secret\u002F3.get",{"title":256,"path":257,"stem":258},"import","\u002Fcli\u002Fcommands\u002Fsecret\u002Fimport","2.cli\u002F3.commands\u002F3.secret\u002F4.import",{"title":260,"path":261,"stem":262},"ennote share","\u002Fcli\u002Fcommands\u002Fshare","2.cli\u002F3.commands\u002F4.share",{"title":264,"path":265,"stem":266},"ennote version","\u002Fcli\u002Fcommands\u002Fversion","2.cli\u002F3.commands\u002F5.version",{"title":268,"icon":269,"path":270,"stem":271,"children":272,"page":21},"Guides","i-lucide-compass","\u002Fguides","3.guides",[273,276,308,352,361],{"title":26,"path":274,"stem":275},"\u002Fguides\u002Foverview","3.guides\u002F1.overview",{"title":277,"icon":21,"path":278,"stem":279,"children":280,"page":21},"Local Development","\u002Fguides\u002Flocal-development","3.guides\u002F2.local-development",[281,284,288,292,296,300,304],{"title":26,"path":282,"stem":283},"\u002Fguides\u002Flocal-development\u002Foverview","3.guides\u002F2.local-development\u002F1.overview",{"title":285,"path":286,"stem":287},"JavaScript & TypeScript","\u002Fguides\u002Flocal-development\u002Fjavascript","3.guides\u002F2.local-development\u002F2.javascript",{"title":289,"path":290,"stem":291},"Python","\u002Fguides\u002Flocal-development\u002Fpython","3.guides\u002F2.local-development\u002F3.python",{"title":293,"path":294,"stem":295},"Go","\u002Fguides\u002Flocal-development\u002Fgo","3.guides\u002F2.local-development\u002F4.go",{"title":297,"path":298,"stem":299},"Java & Kotlin","\u002Fguides\u002Flocal-development\u002Fjava","3.guides\u002F2.local-development\u002F5.java",{"title":301,"path":302,"stem":303},"PHP","\u002Fguides\u002Flocal-development\u002Fphp","3.guides\u002F2.local-development\u002F6.php",{"title":305,"path":306,"stem":307},"Ruby, .NET and Rust","\u002Fguides\u002Flocal-development\u002Fmore-languages","3.guides\u002F2.local-development\u002F7.more-languages",{"title":309,"icon":21,"path":310,"stem":311,"children":312,"page":21},"CI\u002FCD","\u002Fguides\u002Fci-cd","3.guides\u002F3.ci-cd",[313,316,320,324,328,332,336,340,344,348],{"title":26,"path":314,"stem":315},"\u002Fguides\u002Fci-cd\u002Foverview","3.guides\u002F3.ci-cd\u002F01.overview",{"title":317,"path":318,"stem":319},"GitHub Actions","\u002Fguides\u002Fci-cd\u002Fgithub-actions","3.guides\u002F3.ci-cd\u002F02.github-actions",{"title":321,"path":322,"stem":323},"GitLab CI\u002FCD","\u002Fguides\u002Fci-cd\u002Fgitlab-ci","3.guides\u002F3.ci-cd\u002F03.gitlab-ci",{"title":325,"path":326,"stem":327},"Jenkins","\u002Fguides\u002Fci-cd\u002Fjenkins","3.guides\u002F3.ci-cd\u002F04.jenkins",{"title":329,"path":330,"stem":331},"Azure DevOps","\u002Fguides\u002Fci-cd\u002Fazure-devops","3.guides\u002F3.ci-cd\u002F05.azure-devops",{"title":333,"path":334,"stem":335},"Bitbucket Pipelines","\u002Fguides\u002Fci-cd\u002Fbitbucket","3.guides\u002F3.ci-cd\u002F06.bitbucket",{"title":337,"path":338,"stem":339},"CircleCI","\u002Fguides\u002Fci-cd\u002Fcircleci","3.guides\u002F3.ci-cd\u002F07.circleci",{"title":341,"path":342,"stem":343},"TeamCity","\u002Fguides\u002Fci-cd\u002Fteamcity","3.guides\u002F3.ci-cd\u002F08.teamcity",{"title":345,"path":346,"stem":347},"AWS CodeBuild","\u002Fguides\u002Fci-cd\u002Faws-codebuild","3.guides\u002F3.ci-cd\u002F09.aws-codebuild",{"title":349,"path":350,"stem":351},"Google Cloud Build","\u002Fguides\u002Fci-cd\u002Fgoogle-cloud-build","3.guides\u002F3.ci-cd\u002F10.google-cloud-build",{"title":353,"icon":21,"path":354,"stem":355,"children":356,"page":21},"Containers","\u002Fguides\u002Fcontainers","3.guides\u002F4.containers",[357],{"title":358,"path":359,"stem":360},"Docker","\u002Fguides\u002Fcontainers\u002Fdocker","3.guides\u002F4.containers\u002F1.docker",{"title":362,"path":363,"stem":364},"Import from other managers","\u002Fguides\u002Fimport","3.guides\u002F5.import",{"id":366,"title":367,"body":368,"description":874,"extension":875,"links":876,"meta":877,"navigation":878,"path":282,"seo":879,"stem":283,"__hash__":882},"docs\u002F3.guides\u002F2.local-development\u002F1.overview.md","Local Development Without .env Files",{"type":369,"value":370,"toc":857},"minimark",[371,380,427,437,442,509,513,601,605,616,709,717,721,757,761,764,789,793,797,804,808,825,829,843,847,850,853],[372,373,374,375,379],"p",{},"A ",[376,377,378],"code",{},".env"," file is a plain-text copy of your secrets on every developer's laptop. It gets committed by mistake, shared in chat, left in backups and goes stale when someone rotates a key. With Ennote, the secrets stay in an Ennote workspace and the CLI hands them to your app when it starts:",[381,382,387],"pre",{"className":383,"code":384,"language":385,"meta":386,"style":386},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ennote secret get \"site-env\" -- npm run dev\n","bash","",[376,388,389],{"__ignoreMap":386},[390,391,394,398,402,405,409,412,415,418,421,424],"span",{"class":392,"line":393},"line",1,[390,395,397],{"class":396},"sBMFI","ennote",[390,399,401],{"class":400},"sfazB"," secret",[390,403,404],{"class":400}," get",[390,406,408],{"class":407},"sMK4o"," \"",[390,410,411],{"class":400},"site-env",[390,413,414],{"class":407},"\"",[390,416,417],{"class":400}," --",[390,419,420],{"class":400}," npm",[390,422,423],{"class":400}," run",[390,425,426],{"class":400}," dev\n",[372,428,429,430,432,433,436],{},"The CLI fetches the latest version of the secret ",[376,431,411],{},", starts ",[376,434,435],{},"npm run dev",", and passes every key of the secret to it as an environment variable. Nothing is written to disk, and the variables exist only in that process and the processes it starts. Your app reads them the same way it reads any environment variable, so the code does not change.",[438,439,441],"h2",{"id":440},"how-it-works","How It Works",[443,444,445,479,485,499],"ul",{},[446,447,448,452,453,455,456,458,459,462,463,462,466,469,470,473,474,478],"li",{},[449,450,451],"strong",{},"One secret, many keys."," Create one secret, for example ",[376,454,411],{},", and add each variable of your ",[376,457,378],{}," file as a key: ",[376,460,461],{},"DATABASE_URL",", ",[376,464,465],{},"STRIPE_SECRET_KEY",[376,467,468],{},"VITE_API_URL",". Each key becomes an environment variable with the same name. To move an existing file in one step, pipe it into a new secret: ",[376,471,472],{},"cat .env | ennote secret create \"site-env\" --type KEYS_VALUES"," (see ",[475,476,477],"a",{"href":249},"ennote secret create",").",[446,480,481,484],{},[449,482,483],{},"Injected at start-up."," Values are read once, when the command starts. After you change the secret in Ennote, restart the dev server to pick up the new version.",[446,486,487,490,491,494,495,498],{},[449,488,489],{},"Your sign-in, your access."," The CLI uses your own Ennote session, so a developer gets only the secrets their ",[475,492,493],{"href":102},"workspace role"," allows, and every read is recorded in the ",[475,496,497],{"href":81},"audit logs",".",[446,500,501,504,505,498],{},[449,502,503],{},"Nested values become JSON strings."," Arrays and objects are passed as JSON strings; strings, numbers and booleans are passed as plain strings. See ",[475,506,508],{"href":507},"\u002Fcli\u002Fcommands\u002Fsecret\u002Fget#json-type-handling-serialization","JSON type handling",[438,510,512],{"id":511},"one-time-setup","One-Time Setup",[514,515,517,522,536,539,543,549,564,568,575],"steps",{"level":516},"3",[518,519,521],"h3",{"id":520},"create-a-workspace-and-a-secret","Create a workspace and a secret",[372,523,524,525,528,529,532,533,535],{},"In Ennote, create a ",[475,526,527],{"href":98},"workspace"," for local development, for example ",[376,530,531],{},"local-development",", and add a secret such as ",[376,534,411],{}," with your development values.",[372,537,538],{},"Use development credentials here, never production ones. Give your team access by adding them to the workspace.",[518,540,542],{"id":541},"install-the-cli-and-sign-in","Install the CLI and sign in",[372,544,545,548],{},[475,546,547],{"href":222},"Install the Ennote CLI"," and sign in once. The session is stored in your OS keyring, not in a file.",[381,550,552],{"className":383,"code":551,"language":385,"meta":386,"style":386},"ennote auth login\n",[376,553,554],{"__ignoreMap":386},[390,555,556,558,561],{"class":392,"line":393},[390,557,397],{"class":396},[390,559,560],{"class":400}," auth",[390,562,563],{"class":400}," login\n",[518,565,567],{"id":566},"start-your-app-through-ennote","Start your app through Ennote",[372,569,570,571,574],{},"Put ",[376,572,573],{},"ennote secret get \"\u003Csecret>\" --"," in front of the command you already use:",[381,576,577],{"className":383,"code":384,"language":385,"meta":386,"style":386},[376,578,579],{"__ignoreMap":386},[390,580,581,583,585,587,589,591,593,595,597,599],{"class":392,"line":393},[390,582,397],{"class":396},[390,584,401],{"class":400},[390,586,404],{"class":400},[390,588,408],{"class":407},[390,590,411],{"class":400},[390,592,414],{"class":407},[390,594,417],{"class":400},[390,596,420],{"class":400},[390,598,423],{"class":400},[390,600,426],{"class":400},[438,602,604],{"id":603},"sharing-the-command-with-your-team","Sharing the Command With Your Team",[372,606,607,608,611,612,615],{},"Pass the organization and workspace IDs as flags and save the command in your project, for example in ",[376,609,610],{},"package.json",". Everyone who clones the repository then runs the same command against the same workspace, without running ",[376,613,614],{},"ennote config set"," first:",[381,617,621],{"className":618,"code":619,"filename":610,"language":620,"meta":386,"style":386},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"scripts\": {\n    \"dev\": \"ennote secret get \\\"site-env\\\" --organization-id \\\"my-org-id\\\" --workspace-id \\\"local-development\\\" -- vite\"\n  }\n}\n","json",[376,622,623,628,646,697,703],{"__ignoreMap":386},[390,624,625],{"class":392,"line":393},[390,626,627],{"class":407},"{\n",[390,629,631,634,638,640,643],{"class":392,"line":630},2,[390,632,633],{"class":407},"  \"",[390,635,637],{"class":636},"spNyl","scripts",[390,639,414],{"class":407},[390,641,642],{"class":407},":",[390,644,645],{"class":407}," {\n",[390,647,649,652,655,657,659,661,664,668,670,672,675,677,680,682,685,687,689,691,694],{"class":392,"line":648},3,[390,650,651],{"class":407},"    \"",[390,653,654],{"class":396},"dev",[390,656,414],{"class":407},[390,658,642],{"class":407},[390,660,408],{"class":407},[390,662,663],{"class":400},"ennote secret get ",[390,665,667],{"class":666},"sTEyZ","\\\"",[390,669,411],{"class":400},[390,671,667],{"class":666},[390,673,674],{"class":400}," --organization-id ",[390,676,667],{"class":666},[390,678,679],{"class":400},"my-org-id",[390,681,667],{"class":666},[390,683,684],{"class":400}," --workspace-id ",[390,686,667],{"class":666},[390,688,531],{"class":400},[390,690,667],{"class":666},[390,692,693],{"class":400}," -- vite",[390,695,696],{"class":407},"\"\n",[390,698,700],{"class":392,"line":699},4,[390,701,702],{"class":407},"  }\n",[390,704,706],{"class":392,"line":705},5,[390,707,708],{"class":407},"}\n",[372,710,711,712,716],{},"The IDs are not secret, so they are safe to commit. Access is still checked against each developer's own sign-in. If you prefer to keep the IDs out of the repository, have each developer set them once with ",[475,713,714],{"href":239},[376,715,614],{}," and drop the flags.",[438,718,720],{"id":719},"guides-by-language","Guides by Language",[443,722,723,728,733,742,747,752],{},[446,724,725,727],{},[475,726,285],{"href":286},": Vite (Vue, React, Svelte), Next.js, Nuxt, Node.js",[446,729,730,732],{},[475,731,289],{"href":290},": Django, FastAPI, Flask",[446,734,735,737,738,741],{},[475,736,293],{"href":294},": ",[376,739,740],{},"go run",", Air",[446,743,744,746],{},[475,745,297],{"href":298},": Spring Boot with Maven or Gradle, IntelliJ IDEA",[446,748,749,751],{},[475,750,301],{"href":302},": Laravel, Symfony, Composer scripts",[446,753,754,756],{},[475,755,305],{"href":306},": Rails, ASP.NET Core, Cargo",[438,758,760],{"id":759},"clean-up-old-env-files","Clean Up Old .env Files",[372,762,763],{},"Once your app runs through Ennote:",[765,766,767,773,783],"ol",{},[446,768,769,770,772],{},"Delete the local ",[376,771,378],{}," files that hold secrets, on every machine.",[446,774,775,776,778,779,782],{},"Keep ",[376,777,378],{}," in ",[376,780,781],{},".gitignore"," so it can't be committed by mistake.",[446,784,785,786,788],{},"If a ",[376,787,378],{}," file was ever committed or shared, rotate those credentials. Removing the file does not remove it from Git history.",[438,790,792],{"id":791},"faq","FAQ",[518,794,796],{"id":795},"does-ennote-write-a-env-file-to-disk","Does Ennote write a .env file to disk?",[372,798,799,800,803],{},"No. ",[376,801,802],{},"ennote secret get \"\u003Csecret>\" -- \u003Ccommand>"," passes the values to the command as environment variables in memory. No file is created.",[518,805,807],{"id":806},"do-i-need-to-change-my-application-code","Do I need to change my application code?",[372,809,810,811,462,814,462,817,820,821,824],{},"No. Your app reads environment variables as before, with ",[376,812,813],{},"process.env",[376,815,816],{},"os.environ",[376,818,819],{},"os.Getenv"," or ",[376,822,823],{},"System.getenv",". Only the command that starts it changes.",[518,826,828],{"id":827},"can-i-keep-using-dotenv-libraries","Can I keep using dotenv libraries?",[372,830,831,832,835,836,839,840,842],{},"Yes. Libraries such as ",[376,833,834],{},"dotenv"," and ",[376,837,838],{},"python-dotenv"," do not override variables that are already set by default, so the values from Ennote win, and the app still starts when no ",[376,841,378],{}," file exists.",[518,844,846],{"id":845},"what-happens-when-a-secret-changes","What happens when a secret changes?",[372,848,849],{},"Running processes keep the values they started with. Restart the dev server to load the latest version.",[851,852],"need-help",{},[854,855,856],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":386,"searchDepth":630,"depth":630,"links":858},[859,860,865,866,867,868],{"id":440,"depth":630,"text":441},{"id":511,"depth":630,"text":512,"children":861},[862,863,864],{"id":520,"depth":648,"text":521},{"id":541,"depth":648,"text":542},{"id":566,"depth":648,"text":567},{"id":603,"depth":630,"text":604},{"id":719,"depth":630,"text":720},{"id":759,"depth":630,"text":760},{"id":791,"depth":630,"text":792,"children":869},[870,871,872,873],{"id":795,"depth":648,"text":796},{"id":806,"depth":648,"text":807},{"id":827,"depth":648,"text":828},{"id":845,"depth":648,"text":846},"Stop keeping .env files on developer machines: store local development secrets in an Ennote workspace and start your app with ennote secret get, which injects them as environment variables of that process only.","md",null,{},{"title":26},{"title":880,"description":881},"Local Development Without .env Files Using the Ennote CLI","Replace local .env files with Ennote. Store dev secrets in a workspace and start your app with ennote secret get -- \u003Ccommand> to inject them as environment variables.","DRzqlEesZKy_1PokLKYC9M2mWsjx2sxDGxItNfBCKCc",[884,886],{"title":26,"path":274,"stem":275,"description":885,"children":-1},"Step-by-step guides for using Ennote in everyday work: run apps locally without .env files (JavaScript, Python, Go, Java, PHP and more), use secrets in CI\u002FCD (GitHub Actions, GitLab, Jenkins, Azure DevOps, Bitbucket, CircleCI, TeamCity, AWS, Google Cloud) and Docker, and import from other password managers.",{"title":285,"path":286,"stem":287,"description":887,"children":-1},"Run Vite (Vue, React, Svelte), Next.js, Nuxt and Node.js apps locally with secrets from Ennote instead of a .env file, by starting the dev server with ennote secret get.",1796188902793]