[{"data":1,"prerenderedAt":943},["ShallowReactive",2],{"navigation_docs":3,"-guides-local-development-java":365,"-guides-local-development-java-surround":938},[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":929,"extension":930,"links":931,"meta":932,"navigation":933,"path":298,"seo":934,"stem":299,"__hash__":937},"docs\u002F3.guides\u002F2.local-development\u002F5.java.md","Local Development: Java & Kotlin",{"type":369,"value":370,"toc":919},"minimark",[371,380,407,412,415,458,461,488,492,495,563,574,602,606,612,623,634,638,646,807,838,869,895,901,912,915],[372,373,374,375,379],"p",{},"Put ",[376,377,378],"code",{},"ennote secret get \"\u003Csecret>\" --"," in front of the Maven or Gradle command that starts your app. The JVM sees the values as environment variables.",[372,381,382,383,386,387,393,394,397,398,401,402,406],{},"The examples use a secret named ",[376,384,385],{},"api-env",". Set your organization and workspace once with ",[388,389,390],"a",{"href":239},[376,391,392],{},"ennote config set",", or add ",[376,395,396],{},"--organization-id"," and ",[376,399,400],{},"--workspace-id"," flags as in the ",[388,403,405],{"href":404},"\u002Fguides\u002Flocal-development\u002Foverview#sharing-the-command-with-your-team","overview",".",[408,409,411],"h2",{"id":410},"running-spring-boot","Running Spring Boot",[372,413,414],{},"With Maven:",[416,417,422],"pre",{"className":418,"code":419,"language":420,"meta":421,"style":421},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ennote secret get \"api-env\" -- .\u002Fmvnw spring-boot:run\n","bash","",[376,423,424],{"__ignoreMap":421},[425,426,429,433,437,440,444,446,449,452,455],"span",{"class":427,"line":428},"line",1,[425,430,432],{"class":431},"sBMFI","ennote",[425,434,436],{"class":435},"sfazB"," secret",[425,438,439],{"class":435}," get",[425,441,443],{"class":442},"sMK4o"," \"",[425,445,385],{"class":435},[425,447,448],{"class":442},"\"",[425,450,451],{"class":435}," --",[425,453,454],{"class":435}," .\u002Fmvnw",[425,456,457],{"class":435}," spring-boot:run\n",[372,459,460],{},"With Gradle:",[416,462,464],{"className":418,"code":463,"language":420,"meta":421,"style":421},"ennote secret get \"api-env\" -- .\u002Fgradlew bootRun\n",[376,465,466],{"__ignoreMap":421},[425,467,468,470,472,474,476,478,480,482,485],{"class":427,"line":428},[425,469,432],{"class":431},[425,471,436],{"class":435},[425,473,439],{"class":435},[425,475,443],{"class":442},[425,477,385],{"class":435},[425,479,448],{"class":442},[425,481,451],{"class":435},[425,483,484],{"class":435}," .\u002Fgradlew",[425,486,487],{"class":435}," bootRun\n",[408,489,491],{"id":490},"mapping-keys-to-spring-properties","Mapping Keys to Spring Properties",[372,493,494],{},"Spring Boot maps environment variables to properties automatically (relaxed binding): uppercase the property name, replace dots with underscores and remove dashes. Name the keys of your Ennote secret accordingly:",[496,497,498,511],"table",{},[499,500,501],"thead",{},[502,503,504,508],"tr",{},[505,506,507],"th",{},"Key in Ennote",[505,509,510],{},"Spring property",[512,513,514,527,539,551],"tbody",{},[502,515,516,522],{},[517,518,519],"td",{},[376,520,521],{},"SPRING_DATASOURCE_URL",[517,523,524],{},[376,525,526],{},"spring.datasource.url",[502,528,529,534],{},[517,530,531],{},[376,532,533],{},"SPRING_DATASOURCE_USERNAME",[517,535,536],{},[376,537,538],{},"spring.datasource.username",[502,540,541,546],{},[517,542,543],{},[376,544,545],{},"SPRING_DATASOURCE_PASSWORD",[517,547,548],{},[376,549,550],{},"spring.datasource.password",[502,552,553,558],{},[517,554,555],{},[376,556,557],{},"STRIPE_SECRETKEY",[517,559,560],{},[376,561,562],{},"stripe.secret-key",[372,564,565,566,569,570,573],{},"No passwords are needed in ",[376,567,568],{},"application.properties"," or ",[376,571,572],{},"application.yml",". You can also reference a variable by name with a placeholder:",[416,575,579],{"className":576,"code":577,"filename":572,"language":578,"meta":421,"style":421},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","payment:\n  api-key: ${PAYMENT_API_KEY}\n","yaml",[376,580,581,590],{"__ignoreMap":421},[425,582,583,587],{"class":427,"line":428},[425,584,586],{"class":585},"swJcz","payment",[425,588,589],{"class":442},":\n",[425,591,593,596,599],{"class":427,"line":592},2,[425,594,595],{"class":585},"  api-key",[425,597,598],{"class":442},":",[425,600,601],{"class":435}," ${PAYMENT_API_KEY}\n",[408,603,605],{"id":604},"plain-java-and-kotlin","Plain Java and Kotlin",[372,607,608,609,598],{},"Read any key with ",[376,610,611],{},"System.getenv",[416,613,617],{"className":614,"code":615,"language":616,"meta":421,"style":421},"language-java shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","String databaseUrl = System.getenv(\"DATABASE_URL\");\n","java",[376,618,619],{"__ignoreMap":421},[425,620,621],{"class":427,"line":428},[425,622,615],{},[416,624,628],{"className":625,"code":626,"language":627,"meta":421,"style":421},"language-kotlin shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","val databaseUrl = System.getenv(\"DATABASE_URL\")\n","kotlin",[376,629,630],{"__ignoreMap":421},[425,631,632],{"class":427,"line":428},[425,633,626],{},[408,635,637],{"id":636},"running-from-intellij-idea","Running From IntelliJ IDEA",[372,639,640,641,645],{},"A regular Spring Boot or Application run configuration starts the JVM directly, not through Ennote, so the variables are missing. Instead, create a ",[642,643,644],"strong",{},"Shell Script"," run configuration that starts Maven through Ennote, and start the app with the usual Run button.",[647,648,650,655,676,680,691,785,797,801],"steps",{"level":649},"3",[651,652,654],"h3",{"id":653},"add-a-shell-script-run-configuration","Add a Shell Script run configuration",[372,656,657,658,661,662,665,666,669,670,672,673,406],{},"Open ",[642,659,660],{},"Run"," -> ",[642,663,664],{},"Edit Configurations",", click ",[642,667,668],{},"+"," and choose ",[642,671,644],{},". Give it a name, for example ",[376,674,675],{},"Spring Boot (Ennote)",[651,677,679],{"id":678},"enter-the-script","Enter the script",[372,681,682,683,686,687,690],{},"Set ",[642,684,685],{},"Execute"," to ",[642,688,689],{},"Script text"," and paste:",[416,692,694],{"className":418,"code":693,"language":420,"meta":421,"style":421},"[ -f ~\u002F.profile ] && source ~\u002F.profile\n[ -f ~\u002F.bashrc ] && source ~\u002F.bashrc\nennote secret get \"api-env\" --organization-id \"my-org-id\" --workspace-id \"local-development\" -- .\u002Fmvnw spring-boot:run\n",[376,695,696,724,744],{"__ignoreMap":421},[425,697,698,701,704,707,711,714,717,721],{"class":427,"line":428},[425,699,700],{"class":442},"[",[425,702,703],{"class":442}," -f",[425,705,706],{"class":442}," ~",[425,708,710],{"class":709},"sTEyZ","\u002F.profile ",[425,712,713],{"class":442},"]",[425,715,716],{"class":442}," &&",[425,718,720],{"class":719},"s2Zo4"," source",[425,722,723],{"class":435}," ~\u002F.profile\n",[425,725,726,728,730,732,735,737,739,741],{"class":427,"line":592},[425,727,700],{"class":442},[425,729,703],{"class":442},[425,731,706],{"class":442},[425,733,734],{"class":709},"\u002F.bashrc ",[425,736,713],{"class":442},[425,738,716],{"class":442},[425,740,720],{"class":719},[425,742,743],{"class":435}," ~\u002F.bashrc\n",[425,745,747,749,751,753,755,757,759,762,764,767,769,772,774,777,779,781,783],{"class":427,"line":746},3,[425,748,432],{"class":431},[425,750,436],{"class":435},[425,752,439],{"class":435},[425,754,443],{"class":442},[425,756,385],{"class":435},[425,758,448],{"class":442},[425,760,761],{"class":435}," --organization-id",[425,763,443],{"class":442},[425,765,766],{"class":435},"my-org-id",[425,768,448],{"class":442},[425,770,771],{"class":435}," --workspace-id",[425,773,443],{"class":442},[425,775,776],{"class":435},"local-development",[425,778,448],{"class":442},[425,780,451],{"class":435},[425,782,454],{"class":435},[425,784,457],{"class":435},[372,786,682,787,686,790,397,793,796],{},[642,788,789],{},"Interpreter path",[376,791,792],{},"\u002Fbin\u002Fbash",[642,794,795],{},"Working directory"," to your project root.",[651,798,800],{"id":799},"run-it","Run it",[372,802,803,804,806],{},"Select the configuration and click ",[642,805,660],{},". The app's output appears in the Run tool window.",[372,808,809,810,397,813,816,817,819,820,823,824,826,827,830,831,397,834,837],{},"Why the script loads ",[376,811,812],{},"~\u002F.profile",[376,814,815],{},"~\u002F.bashrc",": an IDE started from the desktop, the dock or JetBrains Toolbox does not load your shell profile, so the folder where ",[376,818,432],{}," is installed may not be on its ",[376,821,822],{},"PATH",". Loading the profile first gives the script the same ",[376,825,822],{}," as your terminal. On macOS with zsh, use ",[376,828,829],{},"\u002Fbin\u002Fzsh"," as the interpreter and load ",[376,832,833],{},"~\u002F.zprofile",[376,835,836],{},"~\u002F.zshrc"," instead.",[372,839,840,841,844,845,848,849,661,852,661,855,661,858,661,861,864,865,868],{},"If your project has no Maven wrapper (",[376,842,843],{},"mvnw","), use the Maven bundled with IntelliJ IDEA instead of ",[376,846,847],{},".\u002Fmvnw",". Find its folder in ",[642,850,851],{},"Settings",[642,853,854],{},"Build, Execution, Deployment",[642,856,857],{},"Build Tools",[642,859,860],{},"Maven",[642,862,863],{},"Maven home path",", and use ",[376,866,867],{},"\u003Cthat folder>\u002Fbin\u002Fmvn",", for example:",[416,870,872],{"className":418,"code":871,"language":420,"meta":421,"style":421},"ennote secret get \"api-env\" -- ~\u002F.local\u002Fshare\u002FJetBrains\u002FToolbox\u002Fapps\u002Fintellij-idea-ultimate\u002Fplugins\u002Fmaven-plugin\u002Flib\u002Fmaven3\u002Fbin\u002Fmvn spring-boot:run\n",[376,873,874],{"__ignoreMap":421},[425,875,876,878,880,882,884,886,888,890,893],{"class":427,"line":428},[425,877,432],{"class":431},[425,879,436],{"class":435},[425,881,439],{"class":435},[425,883,443],{"class":442},[425,885,385],{"class":435},[425,887,448],{"class":442},[425,889,451],{"class":435},[425,891,892],{"class":435}," ~\u002F.local\u002Fshare\u002FJetBrains\u002FToolbox\u002Fapps\u002Fintellij-idea-ultimate\u002Fplugins\u002Fmaven-plugin\u002Flib\u002Fmaven3\u002Fbin\u002Fmvn",[425,894,457],{"class":435},[372,896,897,898,406],{},"The path depends on your operating system and how IntelliJ IDEA was installed. For Gradle projects, replace the Maven command with ",[376,899,900],{},".\u002Fgradlew bootRun",[902,903,904,905,908,909,911],"note",{},"The Ennote CLI uses the session from ",[376,906,907],{},"ennote auth login",", stored in your OS keyring, so the run configuration needs no token. If the run fails with an authentication error, run ",[376,910,907],{}," in a terminal and try again.",[913,914],"need-help",{},[916,917,918],"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 .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":421,"searchDepth":592,"depth":592,"links":920},[921,922,923,924],{"id":410,"depth":592,"text":411},{"id":490,"depth":592,"text":491},{"id":604,"depth":592,"text":605},{"id":636,"depth":592,"text":637,"children":925},[926,927,928],{"id":653,"depth":746,"text":654},{"id":678,"depth":746,"text":679},{"id":799,"depth":746,"text":800},"Run Spring Boot apps locally with secrets from Ennote instead of a .env file or credentials in application.properties, using ennote secret get with Maven or Gradle.","md",null,{},{"title":297},{"title":935,"description":936},"Spring Boot Without Local Secrets Using Ennote","Inject Ennote secrets into Spring Boot with Maven or Gradle as environment variables, and map them to Spring properties with relaxed binding.","7fgZGU9zkH5vdeTF77fbEs8wCNrSpUYP6Ix5EufEmxw",[939,941],{"title":293,"path":294,"stem":295,"description":940,"children":-1},"Run Go services locally with secrets from Ennote instead of a .env file: start go run, Air live reload or tests with ennote secret get and read the values with os.Getenv.",{"title":301,"path":302,"stem":303,"description":942,"children":-1},"Run Laravel, Symfony and plain PHP apps locally with secrets from Ennote instead of a .env file, by starting php artisan serve, the PHP built-in server or Composer scripts with ennote secret get.",1796188903153]